Systems and methods for grouping search results from multiple sources

ABSTRACT

Systems and methods are described for presenting search results from multiple sources by grouping the results from some of the multiple sources, ranking each of the multiple sources and groups of sources, and not presenting duplicate results from lower ranked sources. In this way, the user is provided with search results that are distinct as opposed to presenting the same result multiple times when it is available from different sources.

BACKGROUND

Given the plethora of media content sources, each with a large amount of available media content, users often find it difficult to wade through a large number of search results for a given query. Specifically, universal search features have enabled users to obtain results from many different content sources with a single search, but the sheer number of results may be overwhelming. Some conventional systems attempt to overcome this by organizing results by the source from which they are received when presenting the results to a user. However, if a large number of content sources are searched, even organizing by source may require the user to scroll through many different sources to find the desired source. Furthermore, even upon finding the desired content source, the results for the desired content source may be for the same media content as those presented from sources above, requiring even more scrolling by the user to see unique results.

SUMMARY

Accordingly, systems and methods are described herein for presenting search results from multiple sources by grouping the results from some of the multiple sources, ranking each of the multiple sources and groups of sources, and not presenting duplicate results from lower ranked sources. For example, results from three different sources may be received (e.g., AMAZON®, NETFLIX®, and VERIZON®). Because they share a common characteristic of being over-the-top (OTT) streaming services, results from two of the sources may be grouped into an “OTT” group (e.g., results from AMAZON® and NETFLIX®). The results from the OTT group may be presented in a row closer to the top of a screen than the results from the third source (e.g., VERIZON®) in response to a stored ranking indicating that the user prefers the OTT group over the third source. It is then determined whether a result that will be displayed for the OTT group matches a result that will be displayed for the third source (e.g., by comparing metadata of the two results). If the two results match, the result is only presented for the higher ranked source (e.g., the OTT group) and another result is presented in the second row that does not match any of the displayed results in the first row. In this way, the user is provided with search results that are distinct as opposed to presenting the same result multiple times when it is available from different sources.

In some aspects, a media guidance application receives a user input. For example, the media guidance application may receive a user input via a user input interface (e.g., a remote control or touchscreen interface). The user input may be a string of one or multiple alphanumeric or other characters. Alternatively or additionally, the user input may be selecting one of a plurality of selectable options with common search queries. For example, the media guidance application may present the most commonly searched keywords as selectable options for the user to select, saving the user time that he or she may have to input the characters.

The media guidance application searches for results from a first source, a second source, and a third source based on the user input. For example, the media guidance application may transmit the user input to servers associated with each of the sources. For example, the media guidance application may generate a data packet including the user input (e.g., a string of characters) and/or other parameters for the search (e.g., results should be during a certain time period). In some embodiments, the media guidance application may utilize an application programming interface (API) from one or more of the sources to transmit a search query (e.g., based on the user input). The media guidance application may determine the sources to transmit the user input to, based on user preferences (e.g., a stored user preference in a user profile) for specific sources. For example, the user may store a preference that search queries should be sent to a particular set of sources (e.g., to AMAZON®, HULU®, and VERIZON®). Alternatively or additionally, the media guidance application may generate a graphical user interface at the time of the user input allowing the user to select sources. For example, the media guidance application may generate a field where the user can enter a string of characters (e.g., the user input) and a series of selectable options for sources to search for results.

The media guidance application receives first search results from the first source, second search results from the second source, and third search results from the third source. For example, the media guidance application may receive a plurality of results that match the user input from each source. The results from each source may be received in separate data structures (e.g., tables), where each data structure contains a plurality of fields, each with an identifier of a matching result (e.g., the title of a media asset) and additional information in associated fields (e.g., an actor in a media asset). In some embodiments, the results may be ranked according to popularity. Alternatively or additionally, the results may be ranked according to relevance to the user input. For example, despite “The Big Bang Theory” being the most popular result (e.g., many users click on it), because the user input is “Bang,” the result “Bangerz,” an album by Miley Cyrus, may be ranked higher because the first word is matched to the query as opposed to the third word. Alternatively or additionally, the media guidance application may reorder the results based on any combination of the factors discussed above, as well as based on user preferences. For example, if the media guidance application retrieves a user preference that the user likes movies with a given actor, results with that actor may be elevated in the ranking.

The media guidance application determines to merge the first search results from the first source with the second search results from the second source into a merged group of search results. For example, the media guidance application may determine that the number of search results received from the first source and the second source is small and determine to merge the results into a merged group. Specifically, the media guidance application may determine that there are too few results from the first source to fill a portion of a display allocated to the first source and may add search results from the second source in order to fill the display (e.g., by merging the results). As another example, the media guidance application may retrieve characteristics of the first and second sources (e.g., that both are OTT sources) and determine that the results should be merged into a single section of the search results presented to a user, as discussed further below. As yet another example, the media guidance application may retrieve, from a user profile, an indication that the first source and the second source should be merged, as discussed further below.

In some embodiments, the media guidance application may determine to merge the results based on an explicit user input to merge the results. Specifically, the media guidance application receives a second user input to merge results from the first source and the second source. For example, the media guidance application may generate for display a plurality of sources that can be searched and allow the user to select (e.g., via a user input interface such as a touchscreen) combinations of sources to merge results from when performing a search. As another example, the media guidance application may receive a selection of two rows of search results, one from the first source and one from the second source, after a search was performed. The media guidance application stores, in a data structure, an indication to merge results from the first source and the second source. For example, the media guidance application may store identifiers of the first source and the second source in a data structure, as well as a Boolean value set to true indicating that results from the two sources should be merged. The media guidance application, in response to receiving the first search results from the first source and the second search results from the second source, retrieves the indication. For example, them media guidance application may search the data structure for identifiers associated with each source that was searched and determine whether any of the sources that results were received from have a stored indication indicating that the user would like those results merged (e.g., displayed in a single row). As a specific example, the media guidance application may determine that identifiers of AMAZON® and HULU® are stored in the data structure and may retrieve a Boolean value for whether results from the two sources are to be merged. The media guidance application, in response to retrieving the indication, determines to merge the first search results from the first source with the second search results from the second source. Continuing with the previous example, the media guidance application may merge the results from AMAZON® and HULU® if the retrieved boolean value is set to true.

In some embodiments, the media guidance application may determine to merge the results from the first source and the second source based on characteristics of the sources. Specifically, the media guidance application receives a first characteristic of the first source and a second characteristic of the second source. For example, the media guidance application may transmit a query to a database containing characteristics of sources with identifiers of the first source and the second source and receive a response containing one or more characteristics for each source. Alternatively or additionally, the search results from each source may contain a header that includes characteristics of the respective source. The characteristic may be a type of content that a source searches (e.g., audio only), a delivery method (e.g., OTT or broadcast), a location of the source (e.g., Russia), or any other data describing the source itself. The media guidance application determines that the first characteristic matches the second characteristic. For example, the media guidance application may compare characters of each characteristic associated with the first source with characters of each characteristic associated with the second source. The media guidance application may determine whether two characteristics match based on every character matching, or a threshold amount (e.g., percentage) of characters matching (e.g., to account for spelling errors such as “brodcast” instead of “broadcast”). The media guidance application, in response to determining that the first characteristic matches the second characteristic, determines to merge the first search results with the second search results. For example, upon determining that both AMAZON® and HULU® are sources that have the same characteristic “OTT,” indicating that both are streaming over-the-top sources, the media guidance application may determine to merge the results from the two sources into an OTT group.

In some embodiments, the media guidance application, in response to determining to merge the first search results from the first source with the second source, merges the results into a single data structure. Specifically, the media guidance application may generate a data structure (e.g., a list, array, or other suitable data structure) of an appropriate length to store both the first search results and the second search results. For example, if there are five results in the first search results and six results in the second search results, the media guidance application may generate a data structure with eleven fields to store identifiers of the results. The media guidance application may then write identifiers of each result in the first search results and the second search results to respective fields of the data structure. The media guidance application may then rank the merged group of results in the same manner as discussed above (e.g., based on relevance to a user input).

The media guidance application retrieves a ranking of sources indicating a higher ranking for the merged group of search results than the third source. For example, the media guidance application may retrieve the ranking from local storage or a remote server. The ranking of sources may be stored in a table or other suitable data structure, where each row contains an identifier of a source and a numeric ranking or score associated with the source in an associated field. The ranking may be set manually by a user (e.g., via a user input interface) or may be a default ranking based on the historical interactions of other users (e.g., the most commonly searched sources by a population of users are ranked highest). The ranking of sources may contain separate entries for groups of merged sources, or may average the rankings of the individual sources that are grouped to determine a rank for the group. As a specific example, the media guidance application may determine that HULU® and AMAZON® should be part of an OTT group of search results. If the media guidance application determines that the ranking for HULU® is 5 and the ranking for AMAZON® is 3, then the media guidance application may assign a ranking of 4 to the OTT group. Continuing with this example, if the media guidance application retrieves 6 as the ranking for a third source, then the media guidance application may determine that the third source has a lower ranking than the OTT group.

The media guidance application generates for display a grid comprising a plurality of rows with search results. For example, the media guidance application may generate results in the merged group (e.g., containing the first search results and the second search results) above results from the third source and only display results from the third source that don't match results displayed from the merged group. Specifically, the media guidance application determines, based on the higher ranking for the merged group of search results than the third source, to generate for display the merged group of search results in a first row. For example, the media guidance application may determine a particular location (e.g., a row) to generate results from the merged group of search results in. In some embodiments, the row may be located at a row closer to the top of the screen than a second row where results from the third source are presented.

The media guidance application determines a first subset of the merged group of search results that fit in the first row and a second subset of the third search results that fit in a second row, wherein the first subset includes a first result, and wherein the second subset includes a second result but not a third result. For example, the media guidance application may determine a number of results that fit in the first row and the second row. The number may be constant (e.g., each row always contains 3 results) or may vary based on the length of identifiers of the results (e.g., results with a large number of characters take up more space and fewer can be displayed at once). In some embodiments, the number may be different for the first row and the second row. For example, by virtue of being preferred based on the ranking, more results may be displayed for the first row (e.g., the first row may take up more display space and display results in two sub-rows) than the second row. The media guidance application may then select the appropriate number of results from the received search results from the sources to display (e.g., the first and second subsets). The first subset may include a first result that matches a second result in the second subset. For example, “The Big Bang Theory” may be present in the first and second subsets. In order to present non-duplicate results to the user, the media guidance application may select a third result of the third search results that does not match one of the results in the first subset instead of the second result, as described further below.

The media guidance application compares metadata associated with the first result with metadata associated with the second result. For example, the media guidance application may retrieve metadata associated with a result locally from storage or a remote server. The media guidance application may, alternatively or additionally, receive the metadata in fields of a table associated with the results received from a source. The metadata may be any data related to the result that describes content associated with the result. For example, if the result is for a news article, the metadata may include the author of the article, type of the article (e.g., opinion), and/or publication name (e.g., Nature). The media guidance application may execute a program script to iteratively compare characters of metadata (e.g., attributes) of two results to determine whether the two results match. For example, the media guidance application may compare the string of characters “Matt Damon,” associated with the first result, with the string of characters “Matt Dillon,” associated with the second result.

In some embodiments, the media guidance application may retrieve metadata from a database and compare the characters of the retrieved metadata to determine whether two results match. Specifically, the media guidance application compares a first identifier of the first result and a second identifier of the second result with a plurality of identifiers stored in a database. The identifier may be any combination of characters that define the results, such as a title associated with the result, a URL, and/or a numerical value (e.g., a serial code). For example, the media guidance application may access the database stored locally in storage or at a remote server via a communications network. The database may be organized as a series of multiple linked tables (e.g., a relational database), where a plurality of identifiers in a first table are each associated with a pointer to another table containing metadata associated with the identifier. For example, the media guidance application may compare characters of the first and second identifier with the stored plurality of identifiers. The media guidance application determines that a first stored identifier matches the first identifier and a second stored identifier matches the second identifier. For example, the media guidance application may determine that a first stored identifier matches the first identifier and a second stored identifier matches the second identifier. The media guidance application may then access the appropriate linked tables based on pointers in fields corresponding to the first stored identifier and the second stored identifier.

The media guidance application retrieves first metadata from a first field associated with the first stored identifier and second metadata from a second field associated with the second stored identifier. For example, the tables containing metadata associated with each stored identifier may be structured so that metadata in a first field of each table is always a title associated with the result, metadata in a second field of each table is always a director, etc., for easier comparison (e.g., metadata for the same attribute can be compared without having to compare each stored value to every stored value associated with another identifier). Alternatively or additionally, the table may be structured such that each field with metadata is associated with a label, such as “ACTOR” which can be used to compare corresponding metadata associated with different identifiers. The media guidance application may retrieve metadata from a first field associated with the first identifier (e.g., a title) and metadata from a second field associated with the second identifier (e.g., also a title). The media guidance application then compares first characters of the first metadata associated with the first result with second characters of the second metadata associated with the second result. For example, the media guidance application may compare each character of a retrieved string of characters associated with the first result (identified by the first identifier) with characters of a retrieved string of characters associated with the second result (identified by the second identifier).

The media guidance application determines, based on the comparing, that the first result matches the second result. For example, the media guidance application may determine that if each character of a specific attribute associated with the first result matches each character of the corresponding attribute associated with the second result that the two results match. For example, if two results contain metadata referring to actor “Matt Damon,” the media guidance application may determine the metadata matches and thus the two results match. Alternatively or additionally, the media guidance application may determine whether all the metadata (e.g., all the attributes) associated with the first result, or a threshold percentage (e.g., 50%), match corresponding metadata of the second result. For example, if the media guidance application determines the title, director, and genre attributes match between two results, the media guidance application may determine that the two results match with greater confidence than if only one attribute matched.

In some embodiments, certain attributes (e.g., title) may be weighted more in determining whether two results match because the attributes are more distinct between results. For example, many results may refer to “Matt Damon,” so false positive matches may occur if only actor metadata is matched, but it is less likely that multiple results refer to “The Bourne Identity,” and, as such, that title is weighted higher than actor. In some embodiments, if a threshold number of characters match between an attribute of the first result and an attribute of the second result, then the media guidance application may determine a match. For example, in some instances due to spelling errors or other typographical mistakes, a single character may be different between metadata associated with the first result and metadata associated with the second result (e.g., “Tom Hanks” and “Tom Hankz”). In this situation, if a threshold (e.g., all except one character) amount of characters match, the media guidance application may determine the metadata associated with the first and second results match.

In some embodiments, the media guidance application may determine the number of results to select for the first and second subsets based on a display template. Specifically, the media guidance application retrieves a display template for the grid. For example, the media guidance application may retrieve, either locally from storage or remotely from a server via a communications network, the display template. The display template may be any suitable data structure, such as a class or a table, which contains parameters for displaying results from multiple sources in different rows. The media guidance application retrieves, from a first field of the display template associated with the first row, a first value for a first number of results that fit in the first row. For example, the media guidance application may retrieve an integer (e.g., “3”) for the number of results in the first row from a field in the display template. Alternatively or additionally, the media guidance application may retrieve a value or values corresponding to the size of the display area of the first row and calculate a number of results that can fit in the first row. The media guidance application retrieves, from a second field of the display template associated with the second row, a second value for a second number of results that fit in the second row. Similarly to the value for the number of results that fit in the first row, the media guidance application may retrieve an integer (e.g., “3”) for the number of results in the first row from a field in the display template. In some embodiments, the number of results that fit in the first row may be different than the number that fit in the second row. For example, the media guidance application may present a greater number of results from the sources associated with the merged group of search results since it is preferred by the user.

The media guidance application then selects the first number of results from the merged group of search results as the first subset. For example, the media guidance application may retrieve the number of results that were determined to fit in the first row from the merged group of search results (e.g., retrieve identifiers of results from a table containing the merged results received from the first and second sources, as discussed above). The media guidance application may generate the first subset by adding identifiers of the number of results from the merged group of search results to a list or other data structure. The media guidance application selects the second number of results from the third search results as the second subset. For example, the media guidance application may retrieve the number of results that were determined to fit in the second row from the third search results (e.g., retrieve identifiers of results from a table containing the results received from the third source, as discussed above). The media guidance application may generate the second subset by adding identifiers of the number of results from the third search results to a list or other data structure. The media guidance application may retrieve additional text and/or graphics associated with each identifier of the first and second subsets to populate an instance of the display template (e.g., such that each result is displayed according to parameters in the display template).

In some embodiments, the media guidance application determines which results to select based on a relevance ranking of results from each source. Specifically, the media guidance application ranks each result in the merged group of search results and each result in the third search results based on a relevance of each result to the user input. For example, the media guidance application may receive search results from a source that are already ranked in terms of popularity (e.g., based on the number of times users have clicked particular links) and/or character matching (e.g., how many characters of a search query submitted by the user matched characters of a result). In this situation, the media guidance application may further rank the results based on user preferences (e.g., elevate certain results based on user preferences for those results) or may simply retrieve the highest ranked results without further ranking. If the results received from a source are unranked and are only ranked based on similarity to the user's query, the media guidance application may, for each result, determine a relative popularity. For example, the media guidance application may compare an identifier of each result with popularities stored in a data structure (either local in storage or at a remote server). The media guidance application may then rank the results received from a source based on the retrieved popularity values. For example, the popularity values may be Nielsen ratings of television shows.

The media guidance application retrieves a highest ranked result in the merged group of search results as the first result in the first subset. For example, the media guidance application may retrieve the highest ranked result of the ranked merged group of search results as the first result. The media guidance application may continue retrieving the number of results that fit in the first row (e.g., as discussed above) by retrieving a next highest ranked result from the merged group of search results. The media guidance application retrieves a highest ranked result in the third search results as the second result in the second subset. For example, the media guidance application may retrieve the highest ranked result of the third search results as the second result. The media guidance application may continue retrieving the number of results that fit in the second row (e.g., as discussed above) by retrieving a next highest ranked result from the third search results.

The media guidance application, in response to determining that the first result matches the second result, modifies the second subset by replacing the second result in the second subset with the third result. For example, upon determining that two results that are to be displayed at the same time (e.g., they are in the first and second subsets), the media guidance application replaces the result of the source that is lower ranked with another result. For example, if “The Big Bang Theory” is a result from both a source associated with the merged group and the third source and in the first and second subsets, the result in the second subset may be replaced with another result. As discussed further below, the result that replaces the second result may be based on a ranking of each result in the third search results from the third source.

In some embodiments, the media guidance application modifies the second subset by replacing the second result with a next highest ranked result.

Specifically, the media guidance application retrieves a next highest ranked result not in the second subset as the third result. For example, the media guidance application may retrieve a result from a list of ranked results (e.g., either received from the source of the search results or generated by the media guidance application as discussed above) that is the highest ranked result not part of the second subset. The media guidance application may further determine whether the retrieved next highest ranked result matches a result in the first subset (e.g., by comparing metadata as discussed above). For example, if the media guidance application determines that the next highest ranked result matches a result in the first subset, the media guidance application may retrieve another result (e.g., one result lower on a ranked list) until a result does not match one of the first subset.

The media guidance application may remove the second result from the second subset. For example, the media guidance application may remove an identifier associated with the second result from a list or other data structure storing identifiers of the second subset. The media guidance application may then add the third result to the second subset. For example, the media guidance application may add an identifier of the next highest ranked result (that doesn't match any of the results in the first subset) to the list or other data structure. The media guidance application may add the identifier to the same field previously populated by the identifier of the second result that was removed, or may reorder the identifiers (e.g., based on popularity). In some embodiments, the media guidance application uses the order of the identifiers stored in the list or other data structure as the order the identifiers are presented to the user in the rows.

The media guidance application generates for display the first subset in the first row and the modified second subset in the second row. For example, the media guidance application may generate identifiers of each result in the first subset in the first row. As a specific example, the identifiers may be text or graphics that identify each result. The media guidance application may receive the identifiers from the sources, or may retrieve them from local storage or a remote server. The media guidance application may similarly generate identifiers of each result in the modified second subset (e.g., where the third result has replaced the second result) in the second row. In some embodiments, the media guidance application generates an indication (e.g., an arrow pointing sideways) that more results are available. In response to receiving a user selection of the arrow, the media guidance application may generate a new subset for either only the source for which the arrow was selected (e.g., more results from AMAZON® are displayed replacing the current results) or for all displayed sources (e.g., more results from AMAZON® and HULU® are displayed replacing the current results). Whenever the results in the subsets that are displayed change (e.g., based on a user input to view more results), the media guidance application determines whether any results in rows that are associated with lower ranked sources match results in rows that are associated with higher ranked sources and replaces those results, as described above.

In some embodiments, the media guidance application determines the total number of duplicate results received from the merged group of sources and the third source and displays the number to the user. Specifically, the media guidance application compares each result of the merged group of search results with each result of the third search results. For example, the media guidance application may compare metadata associated with each result in the merged group of search results with metadata of each search result received from the third source. For example, the media guidance application may execute a program script utilizing a for-loop to iteratively compare each result in the merged group of search results with each result from the third source. The media guidance application then determines, based on comparing each result of the merged group of search results with each result of the third search results, a number of duplicate results between the merged search results and the third search results. For example, the media guidance application may initialize a counter and increment the counter each time a match is determined between a result in the merged group of search results and a result from the third source until every result in the merged group of search results has been compared to the search results from the third source. As discussed above, the media guidance application may determine a match if a threshold percentage of metadata associated with two search results match. The media guidance application then generates for display an indication of the number of duplicate results in the second row. For example, the media guidance application may generate for display text with the value for the total number of duplicates (e.g., “30”) in the first row or the second row. The indication may optionally contain text clarifying which source the duplicates refer to. For example, if AMAZON® and HULU® are the sources of the results for the first row and VERIZON® is the source for the second row, the media guidance application may generate text, “30 duplicate results with Amazon and Hulu” in the second row.

In some embodiments, the media guidance application may display other sources that returned the same result upon receiving a user selection of the result. Specifically, the media guidance application receives a user selection of the first result. For example, the media guidance application may, via user input interface such as a remote control or touchscreen interface, receive a selection of a particular result displayed on the grid. As a specific example, the media guidance application may determine that the result for “The Big Bang Theory” in the first row (e.g., the most preferred source(s) of the user) has been selected by the user. The media guidance application may determine other sources where a result for “The Big Bang Theory” was received by comparing metadata associated with the selected result to results from other sources, as discussed above. For example, the media guidance application may determine that the second result (from the third source) matches the first result (e.g., from either the first source or the second source) and that the first result is selected by the user. The media guidance application, in response to receiving the user selection, generates for display an indication that the first result is also available from the third source. For example, if both the merged group of search results and the third search results include a result for “The Big Bang Theory,” upon a user selecting “The Big Bang Theory” result in the first row containing the first search results, the media guidance application may generate for display an indication that the result was also returned by the third source. As a specific example, the media guidance application may generate for display text, “This result was also returned by Verizon.” In this way, the media guidance application may provide the user with alternate sources where a result is available without having to show the same result in each row.

In some embodiments, the media guidance application receives a request from the user expressing a preference for the third source instead of the sources in associated with the merged group and the media guidance application replaces duplicate results between the first and second subset from the first subset instead of the second subset. Specifically, the media guidance application may receive a second user input to assign the higher ranking to the third source instead of the merged group. For example, the media guidance application, when generating the grid with the search results from the first and second results for display, may include selectable options (e.g., arrows) to swap a row with results from one source with another row with results from another source constituting a user input to re-rank the sources. The media guidance application may receive a user selection of one of the selectable options to elevate the second row with results from the third source above the first row with the merged group of search results. For example, the user may select (e.g., via a user input interface such as a remote control) an arrow graphic pointing upwards and the media guidance application may determine that the user selection is a request to swap the first and second rows (e.g., if the first row is directly above the second row). The media guidance application may store (e.g., in a user profile) the updated rankings for use when generating future grids with search results from the two sources.

The media guidance application, in response to receiving the second user input, swaps the rows where the first and second search results are displayed and determines whether duplicates from the less preferred source (e.g., the first and second sources) exist with the more preferred source (e.g., the third source). Specifically, the media guidance application generates a third subset of the third search results by replacing the third result in the modified second subset with the second result. For example, now that the third source is preferred over the sources associated with the merged group of search results, results from the third source are preferred. Thus, the second result (e.g., for “The Big Bang Theory”) may be added back into the second subset to create a new third subset of results to display. The media guidance application may generate a new list or other data structure with identifiers of each result that is part of the third subset, or modify an existing list or other data structure for the second subset. In some embodiments, the second result replaces the third result. In other embodiments, another result previously in the subset is removed and both the second and third results are in the third subset.

The media guidance application generates a fourth subset of the merged group of search results by replacing the first result in the first subset with a fourth result of the merged group of search results, wherein the fourth result is not in the first subset. For example, now that the third source is preferred over the sources associated with the merged group of search results, results from the sources associated with the merged group of search results that match results of the third source need to be replaced with other results. Thus, the first result (e.g., for “The Big Bang Theory”) may be replaced with a fourth result from the merged group of search results that does not match any of the results in the third subset (e.g., based on comparing metadata as discussed above). The media guidance application may generate a new list or other data structure with identifiers of each result that is part of the fourth subset, or modify an existing list or other data structure for the first subset. The media guidance application then generates for display the third subset in the first row instead of the first subset and the fourth subset in the second row instead of the modified second subset. For example, the media guidance application may generate indicators (e.g., text and/or graphics) associated with each result of the third subset in the first row and each result of the fourth subset in second row. In this way, duplicate results are still not presented, but since the third source is now preferred over the sources associated with the merged group, duplicate results are replaced from the merged group of search results, not the third search results.

It should be noted the systems and/or methods described above may be applied to, or used in accordance with, other systems, methods and/or apparatuses described in this disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other objects and advantages of the disclosure will be apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings, in which like reference characters refer to like parts throughout, and in which:

FIG. 1 shows an illustrative example of a display showing search results from a plurality of sources in a grid, in accordance with some embodiments of the disclosure;

FIG. 2 shows an illustrative depiction of data structures containing search results from different sources, in accordance with some embodiments of the disclosure;

FIG. 3 shows an illustrative example of a display screen for use in accessing media content in accordance with some embodiments of the disclosure;

FIG. 4 shows another illustrative example of a display screen used access media content in accordance with some embodiments of the disclosure;

FIG. 5 is a block diagram of an illustrative user equipment device in accordance with some embodiments of the disclosure;

FIG. 6 is a block diagram of an illustrative media system in accordance with some embodiments of the disclosure;

FIG. 7 is a flowchart of illustrative steps for presenting search results from a plurality of sources, in accordance with some embodiments of the disclosure;

FIG. 8 is another flowchart of illustrative steps for presenting search results from a plurality of sources, in accordance with some embodiments of the disclosure;

FIG. 9 is a flowchart of illustrative steps for determining whether to merge first results from a first source with second results from a second source, in accordance with some embodiments of the disclosure;

FIG. 10 is a flowchart of illustrative steps for determining a subset of results to display, in accordance with some embodiments of the disclosure; and

FIG. 11 is a flowchart of illustrative steps for determining whether a first result from a first source and a second result from a second source match, in accordance with some embodiments of the disclosure.

DETAILED DESCRIPTION

Systems and methods are described for presenting search results from multiple sources by grouping the results from some of the multiple sources, ranking each of the multiple sources and groups of sources, and not presenting duplicate results from lower ranked sources. For example, results from three different sources may be received (e.g., AMAZON®, NETFLIX®, and VERIZON®). Because they share a common characteristic of being over-the-top (OTT) streaming services, results from two of the sources may be grouped into an “OTT” group (e.g., results from AMAZON® and NETFLIX®). The results from the OTT group may be presented in a row closer to the top of a screen than the results from the third source (e.g., VERIZON®) in response to a stored ranking indicating that the user prefers the OTT group over the third source. It is then determined whether a result that will be displayed for the OTT group matches a result that will be displayed for the third source (e.g., by comparing metadata of the two results). If the two results match, the result is only presented for the higher ranked source (e.g., the OTT group) and another result is presented in the second row that does not match any of the displayed results in the first row. In this way, the user is provided with search results that are distinct as opposed to presenting the same result multiple times when it is available from different sources.

FIG. 1 shows an illustrative example of a display showing search results from a plurality of sources in a grid, in accordance with some embodiments of the disclosure. For example, display 100 may be coupled to user equipment which executes a media guidance application in order to display search results relating to user query 102. User query 102 may be received via a user input interface coupled to the same user equipment displaying display 100 or other user equipment. Display 100 includes a grid comprising rows for group of sources 104, source 106, as well as additional sources 108. Each row (e.g., for group of sources 104 or source 106) contains a subset of the results from the source(s). For example, results 112, 114, and 116 are displayed from group of sources 104 (e.g., each result is from a source that is part of group of sources 104) and results 118, 120, and 122 are displayed from source 106. Group of sources 104 and source 106 may include the same result (e.g., result 112 is part of the subsets to be displayed from both sources), as discussed below. In response, the media guidance application may remove the duplicate result based on a ranking (e.g., result 112 is removed from source 106 because source 106 is ranked lower than group of sources 104).

Display 100 may include sources and/or groups of sources ordered (e.g., from top to bottom) based on a ranking. For example, if a ranking stored in a user profile indicates group of sources 104 is ranked higher than source 106, the media guidance application may generate group of sources 104 above source 106 in display 100. Display 100 may include arrows 124 and 130 to display additional results associated from group of sources 104 and source 106, respectively. Display 100 may include arrows 126 and 128 to reorder the sources. For example, upon a selection of one of arrows 126 or 128, the media guidance application may reorder the sources presented on display 100 (e.g., source 106 may be the first row and group of sources 104 may be the second row). Display 100 may appear on one or more user devices (e.g., any of the devices listed in FIGS. 5-6 below). Moreover, the media guidance application may use one or more of the processes described in FIGS. 7-11 to generate display 100 or any of the features described therein.

In some embodiments, a media guidance application receives a user input. For example, the media guidance application may receive a user input via a user input interface (e.g., a remote control or touchscreen interface). The user input may be a string of one or multiple alphanumeric or other characters. Alternatively or additionally, the user input may be selecting one of a plurality of selectable options with common search queries. For example, the media guidance application may present the most commonly searched keywords as selectable options for the user to select, saving the user time that he or she may have to input the characters.

The media guidance application searches for results from a first source, a second source, and a third source based on the user input. For example, the media guidance application may transmit the user input (e.g., user query 102) to servers associated with each of the sources (e.g., each of group of sources 104 and source 106). For example, the media guidance application may generate a data packet including the user input (e.g., a string of characters) and/or other parameters for the search (e.g., results should be during a certain time period). In some embodiments, the media guidance application may utilize an application programming interface (API) from one or more of the sources (e.g., one or more of group of sources 104 and source 106) to transmit a search query (e.g., based on the user input). The media guidance application may determine the sources (e.g., group of sources 104 and source 106) to transmit the user input to based on user preferences (e.g., a stored user preference in a user profile) for specific sources. For example, the user may store a preference that search queries should be sent to a particular set of sources (e.g., group of sources 104 and source 106). Alternatively or additionally, the media guidance application may generate a graphical user interface at the time of the user input allowing the user to select sources (e.g., group of sources 104 and source 106). For example, the media guidance application may generate a field where the user can enter a string of characters (e.g., user query 102) and a series of selectable options for sources to search for results.

As referred to herein, a “result” should be understood as data that is related to or matches an input from a user. For example, the data may be a link to a location of data, such as a URL to a webpage or a link to a location in storage where a media asset is stored. As another example the data may be text or a graphic that matches the user input (e.g., if the user input is “orange” an image for the fruit may be a result). As referred to herein, “search results” should be understood as one or more results received from a source. For example, a source that is queried for results based on the user input may return multiple results (e.g., links to different URLs, pointers to different locations in storage, graphics, etc.).

The media guidance application receives first search results from the first source, second search results from the second source, and third search results from the third source. For example, the media guidance application may receive a plurality of results that match the user input (e.g., user query 102) from each source (e.g., each of group of sources 104 and source 106). The results from each source (e.g., group of sources 104 and source 106) may be received in separate data structures (e.g., tables), where each data structure contains a plurality of fields, each with an identifier of a matching result (e.g., the title of a media asset) and additional information in associated fields (e.g., an actor in a media asset). In some embodiments, the results may be ranked according to popularity, as described further below with respect to FIGS. 2 and 10. Alternatively or additionally, the results may be ranked according to relevance to the user input, as described further below with respect to FIGS. 2 and 10. For example, despite “The Big Bang Theory” being the most popular result (e.g., many users click on it), because the user input is “Bang,” the result “Bangerz,” an album by Miley Cyrus, may be ranked higher because the first word is matched to the query as opposed to the third word. Alternatively or additionally, the media guidance application may reorder the results based on any combination of the factors discussed above, as well as based on user preferences. For example, if the media guidance application retrieves a user preference that the user likes movies with a given actor, results with that actor may be elevated in the ranking.

The media guidance application determines to merge the first search results from the first source with the second search results from the second source into a merged group of search results. For example, the media guidance application may determine that the number of search results received from the first source and the second source is small and determine to merge the results into a merged group (e.g., group of sources 104). Specifically, the media guidance application may determine that there are too few results from the first source to fill a portion of a display (e.g., display 100) allocated to the first source and may add search results from the second source in order to fill the display (e.g., by merging the results into group of sources 104). As another example, the media guidance application may retrieve characteristics of the first and second sources (e.g., that both are OTT sources) and determine that the results should be merged into a single section of the search results presented to a user, as discussed further below. As yet another example, the media guidance application may retrieve, from a user profile, an indication that the first source and the second source should be merged, as discussed further below.

In some embodiments, the media guidance application may determine to merge the results based on an explicit user input to merge the results. Specifically, the media guidance application receives a second user input to merge results from the first source and the second source. For example, the media guidance application may generate for display a plurality of sources that can be searched and allow the user to select (e.g., via a user input interface such as a touchscreen) combinations of sources to merge results from (e.g., into a single row for group of sources 104) when performing a search. As another example, the media guidance application may receive a selection of two rows of search results, one from the first source and one from the second source, after a search was performed. The media guidance application stores, in a data structure, an indication to merge results from the first source and the second source (e.g., combine results from group of sources 104). For example, the media guidance application may store identifiers of the first source and the second source in a data structure, as well as a Boolean value set to true indicating that results from the two sources should be merged. The media guidance application, in response to receiving the first search results from the first source and the second search results from the second source, retrieves the indication. For example, them media guidance application may search the data structure for identifiers associated with each source that was searched and determine whether any of the sources that results were received from have a stored indication indicating that the user would like those results merged (e.g., displayed in a single row). As a specific example, the media guidance application may determine that identifiers of AMAZON® and HULU® are stored in the data structure and may retrieve a Boolean value for whether results from the two sources are to be merged. The media guidance application, in response to retrieving the indication, determines to merge the first search results from the first source with the second search results from the second source. Continuing with the previous example, the media guidance application may merge the results from AMAZON® and HULU® if the retrieved boolean value is set to true.

In some embodiments, the media guidance application may determine to merge the results from the first source and the second source based on characteristics of the sources. Specifically, the media guidance application receives a first characteristic of the first source and a second characteristic of the second source. For example, the media guidance application may transmit a query to a database containing characteristics of sources with identifiers of the first source and the second source (e.g., each of group of sources 104) and receive a response containing one or more characteristics for each source. Alternatively or additionally, the search results from each source (e.g., each of group of sources 104) may contain a header that includes characteristics of the respective source. The characteristic may be a type of content that a source searches (e.g., audio only), a delivery method (e.g., OTT or broadcast), a location of the source (e.g., Russia), or any other data describing the source itself. The media guidance application determines that the first characteristic matches the second characteristic. For example, the media guidance application may compare characters of each characteristic associated with the first source with characters of each characteristic associated with the second source. The media guidance application may determine whether two characteristics match based on every character matching, or a threshold amount (e.g., percentage) of characters matching (e.g., to account for spelling errors such as “brodcast” instead of “broadcast”). The media guidance application, in response to determining that the first characteristic matches the second characteristic, determines to merge the first search results with the second search results. For example, upon determining that both AMAZON® and HULU® are sources that have the same characteristic “OTT,” indicating that both are streaming over-the-top sources, the media guidance application may determine to merge the results from the two sources (e.g., each of group of sources 104) into an OTT group.

In some embodiments, the media guidance application, in response to determining to merge the first search results from the first source with the second source, merges the results into a single data structure. Specifically, the media guidance application may generate a data structure (e.g., a list, array, or other suitable data structure) of an appropriate length to store both the first search results and the second search results (e.g., from each of group of sources 104). For example, if there are five results in the first search results and six results in the second search results, the media guidance application may generate a data structure with eleven fields to store identifiers of the results (e.g., from each of group of sources 104). The media guidance application may then write identifiers of each result in the first search results and the second search results to respective fields of the data structure. The media guidance application may then rank the merged group of results in the same manner as discussed above (e.g., based on relevance to a user input).

The media guidance application retrieves a ranking of sources indicating a higher ranking for the merged group of search results than the third source. For example, the media guidance application may retrieve the ranking from local storage or a remote server. The ranking of sources may be stored in a table or other suitable data structure, where each row contains an identifier of a source (e.g., of source 106) and a numeric ranking or score associated with the source (e.g., “5”) in an associated field. The ranking may be set manually by a user (e.g., via a user input interface) or may be a default ranking based on the historical interactions of other users (e.g., the most commonly searched sources by a population of users are ranked highest). The ranking of sources may contain separate entries for groups of merged sources (e.g., group of sources 104), or may average the rankings of the individual sources (e.g., the sources that are part of group of sources 104) that are grouped to determine a rank for the group. As a specific example, the media guidance application may determine that HULU® and AMAZON® should be part of an OTT group of search results. If the media guidance application determines that the ranking for HULU® is 5 and the ranking for AMAZON® is 3, then the media guidance application may assign a ranking of 4 to the OTT group (e.g., group of sources 104). Continuing with this example, if the media guidance application retrieves 6 as the ranking for a third source (e.g., source 106), then the media guidance application may determine that the third source has a lower ranking than the OTT group (e.g., group of sources 104).

The media guidance application generates for display a grid comprising a plurality of rows with search results. For example, the media guidance application may generate results in the merged group (e.g., group of sources 104) above results from the third source (e.g., source 106) and only display results from the third source that don't match results displayed from the merged group. Specifically, the media guidance application determines, based on the higher ranking for the merged group of search results (e.g., group of sources 104) than the third source (e.g., source 106), to generate for display (e.g., display 100) the merged group of search results in a first row. For example, the media guidance application may determine a particular location (e.g., a row) to generate results from the merged group of search results (e.g., group of sources 104) in. In some embodiments, the row may be located at a row closer to the top of the screen than a second row where results from the third source are presented.

The media guidance application determines a first subset of the merged group of search results that fit in the first row and a second subset of the third search results that fit in a second row, wherein the first subset includes a first result, and wherein the second subset includes a second result but not a third result. For example, the media guidance application may determine a number of results that fit in the first row and the second row. The number may be constant (e.g., each row always contains 3 results) or may vary based on the length of identifiers of the results (e.g., results with a large number of characters take up more space and fewer can be displayed at once). In some embodiments, the number may be different for the first row and the second row. For example, by virtue of being preferred based on the ranking (e.g., group of sources 104 is ranked higher than source 106), more results may be displayed for the first row (e.g., the first row may take up more display space and display results in two sub-rows) than the second row. The media guidance application may then select the appropriate number of results from the received search results from the merged group of sources and the third source to display (e.g., results 112, 114, and 116 are selected from the results received from group of sources 104). The first subset may include a first result that matches a second result in the second subset. For example, “The Big Bang Theory” (e.g., result 112) may be present in the first and second subsets. In order to present non-duplicate results to the user, the media guidance application may select a third result of the third search results that does not match one of the results in the first subset (e.g., does not match result 112, 114, or 116) instead of the second result, as described further below.

The media guidance application compares metadata associated with the first result with metadata associated with the second result. For example, the media guidance application may retrieve metadata associated with a result (e.g., result 112) locally from storage or a remote server. The media guidance application may, alternatively or additionally, receive the metadata in fields of a table associated with the results received from a source (e.g., source 106). The metadata may be any data related to the result that describes content associated with the result. For example, if the result is for a news article, the metadata may include the author of the article, type of the article (e.g., opinion), and/or publication name (e.g., Nature). The media guidance application may execute a program script to iteratively compare characters of metadata (e.g., attributes) of two results to determine whether the two results match (e.g., result 112 from group of sources 104 and result 118 from source 106 are compared). For example, the media guidance application may compare the string of characters “Matt Damon,” associated with the first result, with the string of characters “Matt Dillon,” associated with the second result.

The media guidance application determines, based on the comparing, that the first result matches the second result. For example, the media guidance application may determine that if each character of a specific attribute associated with the first result (e.g., result 112 from group of sources 104) matches each character of the corresponding attribute associated with the second result (e.g., a result that matches result 112 from source 106) that the two results match. For example, if two results contain metadata referring to actor “Matt Damon,” the media guidance application may determine the metadata matches and thus the two results match. Alternatively or additionally, the media guidance application may determine whether all the metadata (e.g., all the attributes) associated with the first result (e.g., from group of sources 104), or a threshold percentage (e.g., 50%), match corresponding metadata of the second result (e.g., from source 106). For example, if the media guidance application determines the title, director, and genre attributes match between two results, the media guidance application may determine that the two results match with greater confidence than if only one attribute matched.

In some embodiments, certain attributes (e.g., title) may be weighted more in determining whether two results match because the attributes are more distinct between results. For example, many results may refer to “Matt Damon,” so false positive matches may occur if only actor metadata is matched, but it is less likely that multiple results refer to “The Bourne Identity,” and, as such, that title is weighted higher than actor. In some embodiments, if a threshold number of characters match between an attribute of the first result (e.g., from group of sources 104) and an attribute of the second result (e.g., from source 106), then the media guidance application may determine a match. For example, in some instances due to spelling errors or other typographical mistakes, a single character may be different between metadata associated with the first result and metadata associated with the second result (e.g., “Tom Hanks” and “Tom Hankz”). In this situation, if a threshold (e.g., all except one character) amount of characters match, the media guidance application may determine the metadata associated with the first and second results match.

In some embodiments, the media guidance application may determine the number of results to select for the first and second subsets based on a display template. Specifically, the media guidance application retrieves a display template (e.g., to generate display 100) for the grid. For example, the media guidance application may retrieve, either locally from storage or remotely from a server via a communications network, the display template. The display template may be any suitable data structure, such as a class or a table, which contains parameters for displaying results from multiple sources in different rows. The media guidance application retrieves, from a first field of the display template associated with the first row, a first value for a first number of results that fit in the first row. For example, the media guidance application may retrieve an integer (e.g., “3”) for the number of results in the first row from a field in the display template. Alternatively or additionally, the media guidance application may retrieve a value or values corresponding to the size of the display area of the first row and calculate a number of results that can fit in the first row. The media guidance application retrieves, from a second field of the display template associated with the second row, a second value for a second number of results that fit in the second row. Similarly to the value for the number of results that fit in the first row, the media guidance application may retrieve an integer (e.g., “3”) for the number of results in the first row from a field in the display template. In some embodiments, the number of results that fit in the first row may be different than the number that fit in the second row. For example, the media guidance application may present a greater number of results from the merged group of search results (e.g., from group of sources 104) since it is preferred by the user.

The media guidance application then selects the first number of results from the merged group of search results as the first subset. For example, the media guidance application may retrieve the number of results that were determined to fit in the first row from the merged group of search results (e.g., if 3 results fit in the first row, results 112, 114, and 116 from group of sources 104 may be retrieved). The media guidance application may generate the first subset by adding identifiers of the number of results from the merged group of search results to a list or other data structure. The media guidance application selects the second number of results from the third search results as the second subset. For example, the media guidance application may retrieve the number of results that were determined to fit in the second row from the third search results (e.g., if 3 results fit in the second row, a result matching result 112, result 120, and result 122 from source 106 may be retrieved). The media guidance application may generate the second subset by adding identifiers of the number of results from the third search results to a list or other data structure. The media guidance application may retrieve additional text and/or graphics associated with each identifier of the first and second subsets to populate an instance of the display template (e.g., such that each result is displayed according to parameters in the display template).

The media guidance application, in response to determining that the first result matches the second result, modifies the second subset by replacing the second result in the second subset with the third result. For example, upon determining that two results that are to be displayed at the same time (e.g., they are in the first and second subsets), the media guidance application replaces the result of the source (e.g., a result that matches result 112, but from source 106) that is lower ranked with another result (e.g., with result 118). For example, if “The Big Bang Theory” is a result from both a source associated with the merged group and the third source and in the first and second subsets, the result in the second subset may be replaced with another result. As discussed further below with respect to FIG. 2, the result that replaces the second result may be based on a ranking of each result in the third search results from the third source.

The media guidance application generates for display the first subset in the first row and the modified second subset in the second row. For example, the media guidance application may generate identifiers of each result in the first subset (e.g., results 112, 114, and 116) in the first row. As a specific example, the identifiers may be text or graphics that identify each result. The media guidance application may receive the identifiers from the sources (e.g., from source 106), or may retrieve them from local storage or a remote server. The media guidance application may similarly generate identifiers of each result in the modified second subset (e.g., results 118, 120, and 122) in the second row. In some embodiments, the media guidance application generates an indication (e.g., arrows 124 and 130) that more results are available. In response to receiving a user selection of the arrow, the media guidance application may generate a new subset for either only the source for which the arrow was selected (e.g., if arrow 124 is selected, more results from only group of sources 104 are displayed) or for all displayed sources (e.g., if arrow 124 is selected, more results from both group of sources 104 and source 106 are displayed). Whenever the results in the subsets that are displayed change (e.g., based on a user input to view more results), the media guidance application determines whether any results in rows that are associated with lower ranked sources match results in rows that are associated with higher ranked sources and replaces those results, as described above.

In some embodiments, the media guidance application determines the total number of duplicate results received from the merged group of sources and the third source and displays the number to the user. Specifically, the media guidance application compares each result of the merged group of search results with each result of the third search results. For example, the media guidance application may compare metadata associated with each result in the merged group of search results (e.g., from group of sources 104) with metadata of each search result received from the third source (e.g., from source 106). For example, the media guidance application may execute a program script utilizing a for-loop to iteratively compare each result in the merged group of search results (e.g., from group of sources 104) with each result from the third source (e.g., from source 106). The media guidance application then determines, based on comparing each result of the merged group of search results with each result of the third search results, a number of duplicate results between the merged search results and the third search results. For example, the media guidance application may initialize a counter and increment the counter each time a match is determined between a result in the merged group of search results (e.g., from group of sources 104) and a result from the third source (e.g., source 106) until every result in the merged group of search results has been compared to the search results from the third source. As discussed above, the media guidance application may determine a match if a threshold percentage of metadata associated with two search results match. The media guidance application then generates for display an indication of the number of duplicate results in the second row. For example, the media guidance application may generate for display text with the value for the total number of duplicates (e.g., “30”) in the first row or the second row. The indication may optionally contain text clarifying which source the duplicates refer to. For example, if AMAZON® and HULU® are the sources of the results for the first row and VERIZON® is the source for the second row, the media guidance application may generate text, “30 duplicate results with Amazon and Hulu” in the second row.

In some embodiments, the media guidance application may display other sources that returned the same result upon receiving a user selection of the result. Specifically, the media guidance application receives a user selection of the first result. For example, the media guidance application may, via user input interface such as a remote control or touchscreen interface, receive a selection of a particular result displayed on the grid. As a specific example, the media guidance application may determine that the result for “The Big Bang Theory” in the first row (e.g., from the most preferred source(s) of the user) has been selected by the user. The media guidance application may determine other sources where a result for “The Big Bang Theory” was received by comparing metadata associated with the selected result to results from other sources (e.g., source 106), as discussed above. For example, the media guidance application may determine that the second result (e.g., from source 106) matches the first result (e.g., from one of group of sources 104) and that the first result is selected by the user. The media guidance application, in response to receiving the user selection, generates for display an indication that the first result is also available from the third source. For example, if both the merged group of search results (e.g., from group of sources 104) and the third search results (e.g., from source 106) include a result for “The Big Bang Theory,” upon a user selecting “The Big Bang Theory” result in the first row containing the first search results, the media guidance application may generate for display an indication that the result was also returned by the third source. As a specific example, the media guidance application may generate for display text, “This result was also returned by Verizon.” In this way, the media guidance application may provide the user with alternate sources where a result is available without having to show the same result in each row.

In some embodiments, the media guidance application receives a request from the user expressing a preference for the third source instead of the sources in associated with the merged group and the media guidance application replaces duplicate results between the first and second subset from the first subset instead of the second subset. Specifically, the media guidance application may receive a second user input (e.g., of arrow 126 or arrows 128) to assign the higher ranking to the third source instead of the merged group. For example, the media guidance application, when generating the grid with the search results from the first and second results for display, may include selectable options (e.g., of arrow 126 or arrows 128) to swap a row with results from a source or a group of sources (e.g., group of sources 104) with another row with results from another source or group sources (e.g., source 106) constituting a user input to re-rank the sources. The media guidance application may receive a user selection of one of the selectable options (e.g., arrow 126) to elevate the second row with results from the third source (e.g., source 106) above the first row with the merged group of search results (e.g., from group of sources 104). For example, the user may select (e.g., via a user input interface such as a remote control) an arrow graphic (e.g., arrow 126) pointing upwards and the media guidance application may determine that the user selection is a request to swap the first and second rows (e.g., if the first row is directly above the second row). The media guidance application may store (e.g., in a user profile) the updated rankings for use when generating future grids with search results from the two sources.

The media guidance application, in response to receiving the second user input, swaps the rows where the first and second search results are displayed and determines whether duplicates from the less preferred source (e.g., now group of sources 104) exist with the more preferred source (e.g., now source 106). Specifically, the media guidance application generates a third subset of the third search results by replacing the third result in the modified second subset with the second result. For example, now that the third source is preferred over the sources associated with the merged group of search results, results from the third source are preferred. Thus, the second result (e.g., that matches result 112 from group of sources 104) may be added back into the second subset to create a new third subset of results to display. The media guidance application may generate a new list or other data structure with identifiers of each result that is part of the third subset, or modify an existing list or other data structure for the second subset. In some embodiments, the second result replaces the third result (e.g., replaces one of results 118, 120, and 122). In other embodiments, another result previously in the subset is removed and both the second and third results are in the third subset.

The media guidance application generates a fourth subset of the merged group of search results by replacing the first result in the first subset with a fourth result of the merged group of search results, wherein the fourth result is not in the first subset. For example, now that the third source (e.g., source 106) is preferred over the sources associated with the merged group of search results (e.g., group of sources 104), results from the sources associated with the merged group of search results that match results of the third source need to be replaced with other results. Thus, the first result (e.g., result 112) may be replaced with a fourth result from the merged group of search results that does not match any of the results in the third subset (e.g., based on comparing metadata as discussed above). The media guidance application may generate a new list or other data structure with identifiers of each result that is part of the fourth subset, or modify an existing list or other data structure for the first subset. The media guidance application then generates for display the third subset in the first row instead of the first subset and the fourth subset in the second row instead of the modified second subset. For example, the media guidance application may generate indicators (e.g., text and/or graphics) associated with each result of the third subset in the first row and each result of the fourth subset in second row. In this way, duplicate results are still not presented, but since the third source is now preferred over the sources associated with the merged group, duplicate results are replaced from the merged group of search results, not the third search results.

FIG. 2 shows an illustrative depiction of data structures containing search results from different sources, in accordance with some embodiments of the disclosure. For example, data structure 200 may be organized such that each entry (e.g., a row in a table) corresponds to a different result from the same source or group of sources (e.g., group of sources 104). Similarly, data structure 250 may be organized such that each entry (e.g., a row in a table) corresponds to a different result from another source or group of sources (e.g., source 106). If either data structure 200 or 250 contains a group of sources, then the data structure may be generated based on merging the results from each source in the group of sources.

The media guidance application may compare results in data structures 200 and 250 to determine which results match between two different sources or groups of sources. The media guidance application may determine which results to display in a grid, as discussed above with respect to FIG. 1, based on the comparison. For example, subset 202 of the results stored in data structure 200 is selected to be displayed. For example, subset 254 of the results stored in data structure 250 is selected to be displayed. For example, because result 204 and result 252 match, the media guidance application does not select result 254 as part of subset 254 to be displayed (e.g., because the source or group of sources associated with data structure 200 are preferred over the source or group of sources of the results in data structure 250). The results in data structures 200 and 250 may be ranked according to a variety of factors, as discussed further below and with respect to FIG. 10. Data structures 200 and 250 may be stored in memory (e.g., storage as described in FIG. 5) on one or more user devices (e.g., any of the devices listed in FIGS. 5-6 below). Moreover, the media guidance application may use one or more of the processes described in FIGS. 7-11 below to generate data structures 200 and 250 or any of the features described therein.

In some embodiments, the media guidance application may retrieve metadata from a database and compare the characters of the retrieved metadata to determine whether two results match. Specifically, the media guidance application compares a first identifier of the first result and a second identifier of the second result with a plurality of identifiers stored in a database. The identifier may be any combination of characters that define the results, such as a title associated with the result, a URL, and/or a numerical value (e.g., a serial code). For example, the media guidance application may access the database stored locally in storage or at a remote server via a communications network. The database may be organized as a series of multiple linked tables (e.g., a relational database), where a plurality of identifiers in a first table are each associated with a pointer to another table containing metadata associated with the identifier. For example, the media guidance application may compare characters of the first and second identifier (e.g., identifiers of results 204 and 252) with the stored plurality of identifiers. The media guidance application determines that a first stored identifier matches the first identifier and a second stored identifier matches the second identifier. For example, the media guidance application may determine that a first stored identifier matches the first identifier (e.g., identifier of result 204) and a second stored identifier matches the second identifier (e.g., identifier of result 252). The media guidance application may then access the appropriate linked tables based on pointers in fields corresponding to the first stored identifier and the second stored identifier.

The media guidance application retrieves first metadata from a first field associated with the first stored identifier and second metadata from a second field associated with the second stored identifier. For example, the tables containing metadata associated with each stored identifier (e.g., associated with results 204 and 254) may be structured so that metadata in a first field of each table is always a title associated with the result, metadata in a second field of each table is always a director, etc., for easier comparison (e.g., metadata for the same attribute can be compared without having to compare each stored value to every stored value associated with another identifier). Alternatively or additionally, the table may be structured such that each field with metadata is associated with a label, such as “ACTOR” which can be used to compare corresponding metadata associated with different identifiers. The media guidance application may retrieve metadata from a first field associated with the first identifier (e.g., a title) and metadata from a second field associated with the second identifier (e.g., also a title). The media guidance application then compares first characters of the first metadata associated with the first result with second characters of the second metadata associated with the second result. For example, the media guidance application may compare each character of a retrieved string of characters associated with the first result (identified by the first identifier) with characters of a retrieved string of characters associated with the second result (identified by the second identifier).

In some embodiments, the media guidance application determines which results to select based on a relevance ranking of results from each source. Specifically, the media guidance application ranks each result in the merged group of search results and each result in the third search results based on a relevance of each result to the user input. For example, the media guidance application may receive search results from a source or merged group of sources (e.g., data structure 200) that are already ranked in terms of popularity (e.g., based on the number of times users have clicked particular links) and/or character matching (e.g., how many characters of a search query submitted by the user matched characters of a result). In this situation, the media guidance application may further rank the results based on user preferences (e.g., elevate certain results based on user preferences for those results) or may simply retrieve the highest ranked results (e.g., a result indexed “1” such as result 204) without further ranking. If the results received from a source or group of sources are unranked and are only ranked based on similarity to the user's query, the media guidance application may, for each result, determine a relative popularity. For example, the media guidance application may compare an identifier of each result (e.g., an identifier of result 204) with popularities stored in a data structure (either local in storage or at a remote server). The media guidance application may then rank the results received from a source based on the retrieved popularity values. For example, the popularity values may be Nielsen ratings of television shows.

The media guidance application retrieves a highest ranked result in the merged group of search results as the first result in the first subset. For example, the media guidance application may retrieve the highest ranked result (e.g., result 204 may be indexed in data structure 200 as the highest ranked result) of the ranked merged group of search results (e.g., containing ranked results merged from multiple sources as discussed above) as the first result. The media guidance application may continue retrieving the number of results that fit in the first row (e.g., as discussed above) by retrieving a next highest ranked result from the merged group of search results (e.g., from data structure 200). The media guidance application retrieves a highest ranked result in the third search results as the second result in the second subset. For example, the media guidance application may retrieve the highest ranked result of the third search results (e.g., result 252 may be indexed as the highest ranked result in data structure 250) as the second result. The media guidance application may continue retrieving the number of results that fit in the second row (e.g., as discussed above) by retrieving a next highest ranked result from the third search results.

In some embodiments, the media guidance application modifies the second subset by replacing the second result with a next highest ranked result. Specifically, the media guidance application retrieves a next highest ranked result not in the second subset as the third result. For example, the media guidance application may retrieve a result from a list of ranked results (e.g., either received from the source of the search results or generated by the media guidance application as discussed above) that is the highest ranked result not part of the second subset. As a specific example, if the top ranked result of the second subset (e.g., result 252) matches a result (e.g., result 204) in the first subset and three results need to be displayed from the third source (e.g., three results need to be retrieved from data structure 250), the media guidance application may select results ranked 2-4 (e.g., subset 254) instead of 1-3 to display. The media guidance application may further determine whether the retrieved next highest ranked result matches a result in the first subset (e.g., by comparing metadata as discussed above and below with respect to FIG. 11). For example, if the media guidance application determines that the next highest ranked result matches a result in the first subset, the media guidance application may retrieve another result (e.g., one result lower on a ranked list) until a result does not match one of the first subset.

The media guidance application may remove the second result from the second subset. For example, the media guidance application may remove an identifier associated with the second result (e.g., result 252) from a list or other data structure storing identifiers of the second subset. The media guidance application may then add the third result to the second subset. For example, the media guidance application may add an identifier of the next highest ranked result (that does not match any of the results in the first subset) to the list or other data structure. The media guidance application may add the identifier to the same field previously populated by the identifier of the second result that was removed, or may reorder the identifiers (e.g., based on popularity). In some embodiments, the media guidance application uses the order of the identifiers stored in the list or other data structure as the order the identifiers are presented to the user in the rows.

The amount of content available to users in any given content delivery system can be substantial. Consequently, many users desire a form of media guidance through an interface that allows users to efficiently navigate content selections and easily identify content that they may desire. An application that provides such guidance is referred to herein as an interactive media guidance application or, sometimes, a media guidance application or a guidance application.

Interactive media guidance applications may take various forms depending on the content for which they provide guidance. One typical type of media guidance application is an interactive television program guide. Interactive television program guides (sometimes referred to as electronic program guides) are well-known guidance applications that, among other things, allow users to navigate among and locate many types of content or media assets. Interactive media guidance applications may generate graphical user interface screens that enable a user to navigate among, locate and select content. As referred to herein, the terms “media asset” and “content” should be understood to mean an electronically consumable user asset, such as television programming, as well as pay-per-view programs, on-demand programs (as in video-on-demand (VOD) systems), Internet content (e.g., streaming content, downloadable content, Webcasts, etc.), video clips, audio, content information, pictures, rotating images, documents, playlists, websites, articles, books, electronic books, blogs, chat sessions, social media, applications, games, and/or any other media or multimedia and/or combination of the same. Guidance applications also allow users to navigate among and locate content. As referred to herein, the term “multimedia” should be understood to mean content that utilizes at least two different content forms described above, for example, text, audio, images, video, or interactivity content forms. Content may be recorded, played, displayed or accessed by user equipment devices, but can also be part of a live performance.

The media guidance application and/or any instructions for performing any of the embodiments discussed herein may be encoded on computer readable media. Computer readable media includes any media capable of storing data. The computer readable media may be transitory, including, but not limited to, propagating electrical or electromagnetic signals, or may be non-transitory including, but not limited to, volatile and non-volatile computer memory or storage devices such as a hard disk, floppy disk, USB drive, DVD, CD, media cards, register memory, processor caches, Random Access Memory (“RAM”), etc.

With the advent of the Internet, mobile computing, and high-speed wireless networks, users are accessing media on user equipment devices on which they traditionally did not. As referred to herein, the phrase “user equipment device,” “user equipment,” “user device,” “electronic device,” “electronic equipment,” “media equipment device,” or “media device” should be understood to mean any device for accessing the content described above, such as a television, a Smart TV, a set-top box, an integrated receiver decoder (IRD) for handling satellite television, a digital storage device, a digital media receiver (DMR), a digital media adapter (DMA), a streaming media device, a DVD player, a DVD recorder, a connected DVD, a local media server, a BLU-RAY player, a BLU-RAY recorder, a personal computer (PC), a laptop computer, a tablet computer, a WebTV box, a personal computer television (PC/TV), a PC media server, a PC media center, a hand-held computer, a stationary telephone, a personal digital assistant (PDA), a mobile telephone, a portable video player, a portable music player, a portable gaming machine, a smart phone, or any other television equipment, computing equipment, or wireless device, and/or combination of the same. In some embodiments, the user equipment device may have a front facing screen and a rear facing screen, multiple front screens, or multiple angled screens. In some embodiments, the user equipment device may have a front facing camera and/or a rear facing camera. On these user equipment devices, users may be able to navigate among and locate the same content available through a television. Consequently, media guidance may be available on these devices, as well. The guidance provided may be for content available only through a television, for content available only through one or more of other types of user equipment devices, or for content available both through a television and one or more of the other types of user equipment devices. The media guidance applications may be provided as on-line applications (i.e., provided on a web-site), or as stand-alone applications or clients on user equipment devices. Various devices and platforms that may implement media guidance applications are described in more detail below.

One of the functions of the media guidance application is to provide media guidance data to users. As referred to herein, the phrase “media guidance data” or “guidance data” should be understood to mean any data related to content or data used in operating the guidance application. For example, the guidance data may include program information, guidance application settings, user preferences, user profile information, media listings, media-related information (e.g., broadcast times, broadcast channels, titles, descriptions, ratings information (e.g., parental control ratings, critic's ratings, etc.), genre or category information, actor information, logo data for broadcasters' or providers' logos, etc.), media format (e.g., standard definition, high definition, 3D, etc.), on-demand information, blogs, websites, and any other type of guidance data that is helpful for a user to navigate among and locate desired content selections.

FIGS. 3-4 show illustrative display screens that may be used to provide media guidance data. The display screens shown in FIGS. 3-4 may be implemented on any suitable user equipment device or platform. While the displays of FIGS. 3-4 are illustrated as full screen displays, they may also be fully or partially overlaid over content being displayed. A user may indicate a desire to access content information by selecting a selectable option provided in a display screen (e.g., a menu option, a listings option, an icon, a hyperlink, etc.) or pressing a dedicated button (e.g., a GUIDE button) on a remote control or other user input interface or device. In response to the user's indication, the media guidance application may provide a display screen with media guidance data organized in one of several ways, such as by time and channel in a grid, by time, by channel, by source, by content type, by category (e.g., movies, sports, news, children, or other categories of programming), or other predefined, user-defined, or other organization criteria.

FIG. 3 shows illustrative grid of a program listings display 300 arranged by time and channel that also enables access to different types of content in a single display. Display 300 may include grid 302 with: (1) a column of channel/content type identifiers 304, where each channel/content type identifier (which is a cell in the column) identifies a different channel or content type available; and (2) a row of time identifiers 306, where each time identifier (which is a cell in the row) identifies a time block of programming. Grid 302 also includes cells of program listings, such as program listing 308, where each listing provides the title of the program provided on the listing's associated channel and time. With a user input device, a user can select program listings by moving highlight region 310. Information relating to the program listing selected by highlight region 310 may be provided in program information region 312. Region 312 may include, for example, the program title, the program description, the time the program is provided (if applicable), the channel the program is on (if applicable), the program's rating, and other desired information.

In addition to providing access to linear programming (e.g., content that is scheduled to be transmitted to a plurality of user equipment devices at a predetermined time and is provided according to a schedule), the media guidance application also provides access to non-linear programming (e.g., content accessible to a user equipment device at any time and is not provided according to a schedule). Non-linear programming may include content from different content sources including on-demand content (e.g., VOD), Internet content (e.g., streaming media, downloadable media, etc.), locally stored content (e.g., content stored on any user equipment device described above or other storage device), or other time-independent content. On-demand content may include movies or any other content provided by a particular content provider (e.g., HBO On Demand providing “The Sopranos” and “Curb Your Enthusiasm”). HBO ON DEMAND is a service mark owned by Time Warner Company L.P. et al. and THE SOPRANOS and CURB YOUR ENTHUSIASM are trademarks owned by the Home Box Office, Inc. Internet content may include web events, such as a chat session or Webcast, or content available on-demand as streaming content or downloadable content through an Internet web site or other Internet access (e.g. FTP).

Grid 302 may provide media guidance data for non-linear programming including on-demand listing 314, recorded content listing 316, and Internet content listing 318. A display combining media guidance data for content from different types of content sources is sometimes referred to as a “mixed-media” display. Various permutations of the types of media guidance data that may be displayed that are different than display 300 may be based on user selection or guidance application definition (e.g., a display of only recorded and broadcast listings, only on-demand and broadcast listings, etc.). As illustrated, listings 314, 316, and 318 are shown as spanning the entire time block displayed in grid 302 to indicate that selection of these listings may provide access to a display dedicated to on-demand listings, recorded listings, or Internet listings, respectively. In some embodiments, listings for these content types may be included directly in grid 302. Additional media guidance data may be displayed in response to the user selecting one of the navigational icons 320. (Pressing an arrow key on a user input device may affect the display in a similar manner as selecting navigational icons 320.)

Display 300 may also include video region 322, and options region 326. Video region 322 may allow the user to view and/or preview programs that are currently available, will be available, or were available to the user. The content of video region 322 may correspond to, or be independent from, one of the listings displayed in grid 302. Grid displays including a video region are sometimes referred to as picture-in-guide (PIG) displays. PIG displays and their functionalities are described in greater detail in Satterfield et al. U.S. Pat. No. 6,564,378, issued May 13, 2003 and Yuen et al. U.S. Pat. No. 6,239,794, issued May 29, 2001, which are hereby incorporated by reference herein in their entireties. PIG displays may be included in other media guidance application display screens of the embodiments described herein.

Options region 326 may allow the user to access different types of content, media guidance application displays, and/or media guidance application features. Options region 326 may be part of display 300 (and other display screens described herein), or may be invoked by a user by selecting an on-screen option or pressing a dedicated or assignable button on a user input device. The selectable options within options region 326 may concern features related to program listings in grid 302 or may include options available from a main menu display. Features related to program listings may include searching for other air times or ways of receiving a program, recording a program, enabling series recording of a program, setting program and/or channel as a favorite, purchasing a program, or other features. Options available from a main menu display may include search options, VOD options, parental control options, Internet options, cloud-based options, device synchronization options, second screen device options, options to access various types of media guidance data displays, options to subscribe to a premium service, options to edit a user's profile, options to access a browse overlay, or other options.

The media guidance application may be personalized based on a user's preferences. A personalized media guidance application allows a user to customize displays and features to create a personalized “experience” with the media guidance application. This personalized experience may be created by allowing a user to input these customizations and/or by the media guidance application monitoring user activity to determine various user preferences. Users may access their personalized guidance application by logging in or otherwise identifying themselves to the guidance application. Customization of the media guidance application may be made in accordance with a user profile. The customizations may include varying presentation schemes (e.g., color scheme of displays, font size of text, etc.), aspects of content listings displayed (e.g., only HDTV or only 3D programming, user-specified broadcast channels based on favorite channel selections, re-ordering the display of channels, recommended content, etc.), desired recording features (e.g., recording or series recordings for particular users, recording quality, etc.), parental control settings, customized presentation of Internet content (e.g., presentation of social media content, e-mail, electronically delivered articles, etc.) and other desired customizations.

The media guidance application may allow a user to provide user profile information or may automatically compile user profile information. The media guidance application may, for example, monitor the content the user accesses and/or other interactions the user may have with the guidance application. Additionally, the media guidance application may obtain all or part of other user profiles that are related to a particular user (e.g., from other web sites on the Internet the user accesses, such as www.Tivo.com, from other media guidance applications the user accesses, from other interactive applications the user accesses, from another user equipment device of the user, etc.), and/or obtain information about the user from other sources that the media guidance application may access. As a result, a user can be provided with a unified guidance application experience across the user's different user equipment devices. This type of user experience is described in greater detail below in connection with FIG. 6.

Additional personalized media guidance application features are described in greater detail in Ellis et al., U.S. Patent Application Publication No. 2005/0251827, filed Jul. 11, 2005, Boyer et al., U.S. Pat. No. 7,165,098, issued Jan. 16, 2007, and Ellis et al., U.S. Patent Application Publication No. 2002/0174430, filed Feb. 21, 2002, which are hereby incorporated by reference herein in their entireties.

Another display arrangement for providing media guidance is shown in FIG. 4. Video mosaic display 400 includes selectable options 402 for content information organized based on content type, genre, and/or other organization criteria. In display 400, television listings option 404 is selected, thus providing listings 406, 408, 410, and 412 as broadcast program listings. In display 400 the listings may provide graphical images including cover art, still images from the content, video clip previews, live video from the content, or other types of content that indicate to a user the content being described by the media guidance data in the listing. Each of the graphical listings may also be accompanied by text to provide further information about the content associated with the listing. For example, listing 408 may include more than one portion, including media portion 414 and text portion 416. Media portion 414 and/or text portion 416 may be selectable to view content in full-screen or to view information related to the content displayed in media portion 414 (e.g., to view listings for the channel that the video is displayed on).

The listings in display 400 are of different sizes (i.e., listing 406 is larger than listings 408, 410, and 412), but if desired, all the listings may be the same size. Listings may be of different sizes or graphically accentuated to indicate degrees of interest to the user or to emphasize certain content, as desired by the content provider or based on user preferences. Various systems and methods for graphically accentuating content listings are discussed in, for example, Yates, U.S. Patent Application Publication No. 2010/0153885, filed Nov. 12, 2009, which is hereby incorporated by reference herein in its entirety.

Users may access content and the media guidance application (and its display screens described above and below) from one or more of their user equipment devices. FIG. 5 shows a generalized embodiment of illustrative user equipment device 500. More specific implementations of user equipment devices are discussed below in connection with FIG. 6. User equipment device 500 may receive content and data via input/output (hereinafter “I/O”) path 502. I/O path 502 may provide content (e.g., broadcast programming, on-demand programming,

Internet content, content available over a local area network (LAN) or wide area network (WAN), and/or other content) and data to control circuitry 504, which includes processing circuitry 506 and storage 508. Control circuitry 504 may be used to send and receive commands, requests, and other suitable data using I/O path 502. I/O path 502 may connect control circuitry 504 (and specifically processing circuitry 506) to one or more communications paths (described below). I/O functions may be provided by one or more of these communications paths, but are shown as a single path in FIG. 5 to avoid overcomplicating the drawing.

Control circuitry 504 may be based on any suitable processing circuitry such as processing circuitry 506. As referred to herein, processing circuitry should be understood to mean circuitry based on one or more microprocessors, microcontrollers, digital signal processors, programmable logic devices, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), etc., and may include a multi-core processor (e.g., dual-core, quad-core, hexa-core, or any suitable number of cores) or supercomputer. In some embodiments, processing circuitry may be distributed across multiple separate processors or processing units, for example, multiple of the same type of processing units (e.g., two Intel Core i7 processors) or multiple different processors (e.g., an Intel Core i5 processor and an Intel Core i7 processor). In some embodiments, control circuitry 504 executes instructions for a media guidance application stored in memory (i.e., storage 508). Specifically, control circuitry 504 may be instructed by the media guidance application to perform the functions discussed above and below. For example, the media guidance application may provide instructions to control circuitry 504 to generate the media guidance displays. In some implementations, any action performed by control circuitry 504 may be based on instructions received from the media guidance application.

In client-server based embodiments, control circuitry 504 may include communications circuitry suitable for communicating with a guidance application server or other networks or servers. The instructions for carrying out the above mentioned functionality may be stored on the guidance application server. Communications circuitry may include a cable modem, an integrated services digital network (ISDN) modem, a digital subscriber line (DSL) modem, a telephone modem, Ethernet card, or a wireless modem for communications with other equipment, or any other suitable communications circuitry. Such communications may involve the Internet or any other suitable communications networks or paths (which is described in more detail in connection with FIG. 6). In addition, communications circuitry may include circuitry that enables peer-to-peer communication of user equipment devices, or communication of user equipment devices in locations remote from each other (described in more detail below).

Memory may be an electronic storage device provided as storage 508 that is part of control circuitry 504. As referred to herein, the phrase “electronic storage device” or “storage device” should be understood to mean any device for storing electronic data, computer software, or firmware, such as random-access memory, read-only memory, hard drives, optical drives, digital video disc (DVD) recorders, compact disc (CD) recorders, BLU-RAY disc (BD) recorders, BLU-RAY 3D disc recorders, digital video recorders (DVR, sometimes called a personal video recorder, or PVR), solid state devices, quantum storage devices, gaming consoles, gaming media, or any other suitable fixed or removable storage devices, and/or any combination of the same. Storage 508 may be used to store various types of content described herein as well as media guidance data described above. Nonvolatile memory may also be used (e.g., to launch a boot-up routine and other instructions). Cloud-based storage, described in relation to FIG. 6, may be used to supplement storage 508 or instead of storage 508.

Control circuitry 504 may include video generating circuitry and tuning circuitry, such as one or more analog tuners, one or more MPEG-2 decoders or other digital decoding circuitry, high-definition tuners, or any other suitable tuning or video circuits or combinations of such circuits. Encoding circuitry (e.g., for converting over-the-air, analog, or digital signals to MPEG signals for storage) may also be provided. Control circuitry 504 may also include scaler circuitry for upconverting and downconverting content into the preferred output format of the user equipment 500. Circuitry 504 may also include digital-to-analog converter circuitry and analog-to-digital converter circuitry for converting between digital and analog signals. The tuning and encoding circuitry may be used by the user equipment device to receive and to display, to play, or to record content. The tuning and encoding circuitry may also be used to receive guidance data. The circuitry described herein, including for example, the tuning, video generating, encoding, decoding, encrypting, decrypting, scaler, and analog/digital circuitry, may be implemented using software running on one or more general purpose or specialized processors. Multiple tuners may be provided to handle simultaneous tuning functions (e.g., watch and record functions, picture-in-picture (PIP) functions, multiple-tuner recording, etc.). If storage 508 is provided as a separate device from user equipment 500, the tuning and encoding circuitry (including multiple tuners) may be associated with storage 508.

A user may send instructions to control circuitry 504 using user input interface 510. User input interface 510 may be any suitable user interface, such as a remote control, mouse, trackball, keypad, keyboard, touch screen, touchpad, stylus input, joystick, voice recognition interface, or other user input interfaces. Display 512 may be provided as a stand-alone device or integrated with other elements of user equipment device 500. For example, display 512 may be a touchscreen or touch-sensitive display. In such circumstances, user input interface 510 may be integrated with or combined with display 512. Display 512 may be one or more of a monitor, a television, a liquid crystal display (LCD) for a mobile device, amorphous silicon display, low temperature poly silicon display, electronic ink display, electrophoretic display, active matrix display, electro-wetting display, electrofluidic display, cathode ray tube display, light-emitting diode display, electroluminescent display, plasma display panel, high-performance addressing display, thin-film transistor display, organic light-emitting diode display, surface-conduction electron-emitter display (SED), laser television, carbon nanotubes, quantum dot display, interferometric modulator display, or any other suitable equipment for displaying visual images. In some embodiments, display 512 may be HDTV-capable. In some embodiments, display 512 may be a 3D display, and the interactive media guidance application and any suitable content may be displayed in 3D. A video card or graphics card may generate the output to the display 512. The video card may offer various functions such as accelerated rendering of 3D scenes and 2D graphics, MPEG-2/MPEG-4 decoding, TV output, or the ability to connect multiple monitors. The video card may be any processing circuitry described above in relation to control circuitry 504. The video card may be integrated with the control circuitry 504. Speakers 514 may be provided as integrated with other elements of user equipment device 500 or may be stand-alone units. The audio component of videos and other content displayed on display 512 may be played through speakers 514. In some embodiments, the audio may be distributed to a receiver (not shown), which processes and outputs the audio via speakers 514.

The guidance application may be implemented using any suitable architecture. For example, it may be a stand-alone application wholly-implemented on user equipment device 500. In such an approach, instructions of the application are stored locally (e.g., in storage 508), and data for use by the application is downloaded on a periodic basis (e.g., from an out-of-band feed, from an Internet resource, or using another suitable approach). Control circuitry 504 may retrieve instructions of the application from storage 508 and process the instructions to generate any of the displays discussed herein. Based on the processed instructions, control circuitry 504 may determine what action to perform when input is received from input interface 510. For example, movement of a cursor on a display up/down may be indicated by the processed instructions when input interface 510 indicates that an up/down button was selected.

In some embodiments, the media guidance application is a client-server based application. Data for use by a thick or thin client implemented on user equipment device 500 is retrieved on-demand by issuing requests to a server remote to the user equipment device 500. In one example of a client-server based guidance application, control circuitry 504 runs a web browser that interprets web pages provided by a remote server. For example, the remote server may store the instructions for the application in a storage device. The remote server may process the stored instructions using circuitry (e.g., control circuitry 504) and generate the displays discussed above and below. The client device may receive the displays generated by the remote server and may display the content of the displays locally on equipment device 500. This way, the processing of the instructions is performed remotely by the server while the resulting displays are provided locally on equipment device 500. Equipment device 500 may receive inputs from the user via input interface 510 and transmit those inputs to the remote server for processing and generating the corresponding displays. For example, equipment device 500 may transmit a communication to the remote server indicating that an up/down button was selected via input interface 510. The remote server may process instructions in accordance with that input and generate a display of the application corresponding to the input (e.g., a display that moves a cursor up/down). The generated display is then transmitted to equipment device 500 for presentation to the user.

In some embodiments, the media guidance application is downloaded and interpreted or otherwise run by an interpreter or virtual machine (run by control circuitry 504). In some embodiments, the guidance application may be encoded in the ETV Binary Interchange Format (EBIF), received by control circuitry 504 as part of a suitable feed, and interpreted by a user agent running on control circuitry 504. For example, the guidance application may be an EBIF application. In some embodiments, the guidance application may be defined by a series of JAVA-based files that are received and run by a local virtual machine or other suitable middleware executed by control circuitry 504. In some of such embodiments (e.g., those employing MPEG-2 or other digital media encoding schemes), the guidance application may be, for example, encoded and transmitted in an MPEG-2 object carousel with the MPEG audio and video packets of a program.

User equipment device 500 of FIG. 5 can be implemented in system 600 of FIG. 6 as user television equipment 602, user computer equipment 604, wireless user communications device 606, or any other type of user equipment suitable for accessing content, such as a non-portable gaming machine. For simplicity, these devices may be referred to herein collectively as user equipment or user equipment devices, and may be substantially similar to user equipment devices described above. User equipment devices, on which a media guidance application may be implemented, may function as a standalone device or may be part of a network of devices. Various network configurations of devices may be implemented and are discussed in more detail below.

A user equipment device utilizing at least some of the system features described above in connection with FIG. 5 may not be classified solely as user television equipment 602, user computer equipment 604, or a wireless user communications device 606. For example, user television equipment 602 may, like some user computer equipment 604, be Internet-enabled allowing for access to Internet content, while user computer equipment 604 may, like some television equipment 602, include a tuner allowing for access to television programming. The media guidance application may have the same layout on various different types of user equipment or may be tailored to the display capabilities of the user equipment. For example, on user computer equipment 604, the guidance application may be provided as a web site accessed by a web browser. In another example, the guidance application may be scaled down for wireless user communications devices 606.

In system 600, there is typically more than one of each type of user equipment device but only one of each is shown in FIG. 6 to avoid overcomplicating the drawing. In addition, each user may utilize more than one type of user equipment device and also more than one of each type of user equipment device.

In some embodiments, a user equipment device (e.g., user television equipment 602, user computer equipment 604, wireless user communications device 606) may be referred to as a “second screen device.” For example, a second screen device may supplement content presented on a first user equipment device. The content presented on the second screen device may be any suitable content that supplements the content presented on the first device. In some embodiments, the second screen device provides an interface for adjusting settings and display preferences of the first device. In some embodiments, the second screen device is configured for interacting with other second screen devices or for interacting with a social network. The second screen device can be located in the same room as the first device, a different room from the first device but in the same house or building, or in a different building from the first device.

The user may also set various settings to maintain consistent media guidance application settings across in-home devices and remote devices. Settings include those described herein, as well as channel and program favorites, programming preferences that the guidance application utilizes to make programming recommendations, display preferences, and other desirable guidance settings. For example, if a user sets a channel as a favorite on, for example, the web site www.Tivo.com on their personal computer at their office, the same channel would appear as a favorite on the user's in-home devices (e.g., user television equipment and user computer equipment) as well as the user's mobile devices, if desired. Therefore, changes made on one user equipment device can change the guidance experience on another user equipment device, regardless of whether they are the same or a different type of user equipment device. In addition, the changes made may be based on settings input by a user, as well as user activity monitored by the guidance application.

The user equipment devices may be coupled to communications network 614. Namely, user television equipment 602, user computer equipment 604, and wireless user communications device 606 are coupled to communications network 614 via communications paths 608, 610, and 612, respectively. Communications network 614 may be one or more networks including the Internet, a mobile phone network, mobile voice or data network (e.g., a 4G or LTE network), cable network, public switched telephone network, or other types of communications network or combinations of communications networks. Paths 608, 610, and 612 may separately or together include one or more communications paths, such as, a satellite path, a fiber-optic path, a cable path, a path that supports Internet communications (e.g., IPTV), free-space connections (e.g., for broadcast or other wireless signals), or any other suitable wired or wireless communications path or combination of such paths. Path 612 is drawn with dotted lines to indicate that in the exemplary embodiment shown in FIG. 6 it is a wireless path and paths 608 and 610 are drawn as solid lines to indicate they are wired paths (although these paths may be wireless paths, if desired). Communications with the user equipment devices may be provided by one or more of these communications paths, but are shown as a single path in FIG. 6 to avoid overcomplicating the drawing.

Although communications paths are not drawn between user equipment devices, these devices may communicate directly with each other via communication paths, such as those described above in connection with paths 608, 610, and 612, as well as other short-range point-to-point communication paths, such as USB cables, IEEE 1394 cables, wireless paths (e.g., Bluetooth, infrared, IEEE 802-11x, etc.), or other short-range communication via wired or wireless paths. BLUETOOTH is a certification mark owned by Bluetooth SIG, INC. The user equipment devices may also communicate with each other directly through an indirect path via communications network 614.

System 600 includes content source 616 and media guidance data source 618 coupled to communications network 614 via communication paths 620 and 622, respectively. Paths 620 and 622 may include any of the communication paths described above in connection with paths 608, 610, and 612. Communications with the content source 616 and media guidance data source 618 may be exchanged over one or more communications paths, but are shown as a single path in FIG. 6 to avoid overcomplicating the drawing. In addition, there may be more than one of each of content source 616 and media guidance data source 618, but only one of each is shown in FIG. 6 to avoid overcomplicating the drawing. (The different types of each of these sources are discussed below.) If desired, content source 616 and media guidance data source 618 may be integrated as one source device. Although communications between sources 616 and 618 with user equipment devices 602, 604, and 606 are shown as through communications network 614, in some embodiments, sources 616 and 618 may communicate directly with user equipment devices 602, 604, and 606 via communication paths (not shown) such as those described above in connection with paths 608, 610, and 612.

Content source 616 may include one or more types of content distribution equipment including a television distribution facility, cable system headend, satellite distribution facility, programming sources (e.g., television broadcasters, such as NBC, ABC, HBO, etc.), intermediate distribution facilities and/or servers, Internet providers, on-demand media servers, and other content providers. NBC is a trademark owned by the National Broadcasting Company, Inc., ABC is a trademark owned by the American Broadcasting Company, Inc., and HBO is a trademark owned by the Home Box Office, Inc. Content source 616 may be the originator of content (e.g., a television broadcaster, a Webcast provider, etc.) or may not be the originator of content (e.g., an on-demand content provider, an Internet provider of content of broadcast programs for downloading, etc.). Content source 616 may include cable sources, satellite providers, on-demand providers, Internet providers, over-the-top content providers, or other providers of content. Content source 616 may also include a remote media server used to store different types of content (including video content selected by a user), in a location remote from any of the user equipment devices. Systems and methods for remote storage of content, and providing remotely stored content to user equipment are discussed in greater detail in connection with Ellis et al., U.S. Pat. No. 7,761,892, issued Jul. 20, 2010, which is hereby incorporated by reference herein in its entirety.

Media guidance data source 618 may provide media guidance data, such as the media guidance data described above. Media guidance data may be provided to the user equipment devices using any suitable approach. In some embodiments, the guidance application may be a stand-alone interactive television program guide that receives program guide data via a data feed (e.g., a continuous feed or trickle feed). Program schedule data and other guidance data may be provided to the user equipment on a television channel sideband, using an in-band digital signal, using an out-of-band digital signal, or by any other suitable data transmission technique. Program schedule data and other media guidance data may be provided to user equipment on multiple analog or digital television channels.

In some embodiments, guidance data from media guidance data source 618 may be provided to users' equipment using a client-server approach. For example, a user equipment device may pull media guidance data from a server, or a server may push media guidance data to a user equipment device. In some embodiments, a guidance application client residing on the user's equipment may initiate sessions with source 618 to obtain guidance data when needed, e.g., when the guidance data is out of date or when the user equipment device receives a request from the user to receive data. Media guidance may be provided to the user equipment with any suitable frequency (e.g., continuously, daily, a user-specified period of time, a system-specified period of time, in response to a request from user equipment, etc.). Media guidance data source 618 may provide user equipment devices 602, 604, and 606 the media guidance application itself or software updates for the media guidance application.

In some embodiments, the media guidance data may include viewer data. For example, the viewer data may include current and/or historical user activity information (e.g., what content the user typically watches, what times of day the user watches content, whether the user interacts with a social network, at what times the user interacts with a social network to post information, what types of content the user typically watches (e.g., pay TV or free TV), mood, brain activity information, etc.). The media guidance data may also include subscription data. For example, the subscription data may identify to which sources or services a given user subscribes and/or to which sources or services the given user has previously subscribed but later terminated access (e.g., whether the user subscribes to premium channels, whether the user has added a premium level of services, whether the user has increased Internet speed). In some embodiments, the viewer data and/or the subscription data may identify patterns of a given user for a period of more than one year. The media guidance data may include a model (e.g., a survivor model) used for generating a score that indicates a likelihood a given user will terminate access to a service/source. For example, the media guidance application may process the viewer data with the subscription data using the model to generate a value or score that indicates a likelihood of whether the given user will terminate access to a particular service or source. In particular, a higher score may indicate a higher level of confidence that the user will terminate access to a particular service or source. Based on the score, the media guidance application may generate promotions that entice the user to keep the particular service or source indicated by the score as one to which the user will likely terminate access.

Media guidance applications may be, for example, stand-alone applications implemented on user equipment devices. For example, the media guidance application may be implemented as software or a set of executable instructions which may be stored in storage 508, and executed by control circuitry 504 of a user equipment device 500. In some embodiments, media guidance applications may be client-server applications where only a client application resides on the user equipment device, and server application resides on a remote server. For example, media guidance applications may be implemented partially as a client application on control circuitry 504 of user equipment device 500 and partially on a remote server as a server application (e.g., media guidance data source 618) running on control circuitry of the remote server. When executed by control circuitry of the remote server (such as media guidance data source 618), the media guidance application may instruct the control circuitry to generate the guidance application displays and transmit the generated displays to the user equipment devices. The server application may instruct the control circuitry of the media guidance data source 618 to transmit data for storage on the user equipment. The client application may instruct control circuitry of the receiving user equipment to generate the guidance application displays.

Content and/or media guidance data delivered to user equipment devices 602, 604, and 606 may be over-the-top (OTT) content. OTT content delivery allows Internet-enabled user devices, including any user equipment device described above, to receive content that is transferred over the Internet, including any content described above, in addition to content received over cable or satellite connections. OTT content is delivered via an Internet connection provided by an Internet service provider (ISP), but a third party distributes the content. The ISP may not be responsible for the viewing abilities, copyrights, or redistribution of the content, and may only transfer IP packets provided by the OTT content provider. Examples of OTT content providers include YOUTUBE, NETFLIX, and HULU, which provide audio and video via IP packets. Youtube is a trademark owned by Google Inc., Netflix is a trademark owned by Netflix Inc., and Hulu is a trademark owned by Hulu, LLC. OTT content providers may additionally or alternatively provide media guidance data described above. In addition to content and/or media guidance data, providers of OTT content can distribute media guidance applications (e.g., web-based applications or cloud-based applications), or the content can be displayed by media guidance applications stored on the user equipment device.

Media guidance system 600 is intended to illustrate a number of approaches, or network configurations, by which user equipment devices and sources of content and guidance data may communicate with each other for the purpose of accessing content and providing media guidance. The embodiments described herein may be applied in any one or a subset of these approaches, or in a system employing other approaches for delivering content and providing media guidance. The following four approaches provide specific illustrations of the generalized example of FIG. 6.

In one approach, user equipment devices may communicate with each other within a home network. User equipment devices can communicate with each other directly via short-range point-to-point communication schemes described above, via indirect paths through a hub or other similar device provided on a home network, or via communications network 614. Each of the multiple individuals in a single home may operate different user equipment devices on the home network. As a result, it may be desirable for various media guidance information or settings to be communicated between the different user equipment devices. For example, it may be desirable for users to maintain consistent media guidance application settings on different user equipment devices within a home network, as described in greater detail in Ellis et al., U.S. Patent Publication No. 2005/0251827, filed Jul. 11, 2005. Different types of user equipment devices in a home network may also communicate with each other to transmit content. For example, a user may transmit content from user computer equipment to a portable video player or portable music player.

In a second approach, users may have multiple types of user equipment by which they access content and obtain media guidance. For example, some users may have home networks that are accessed by in-home and mobile devices. Users may control in-home devices via a media guidance application implemented on a remote device. For example, users may access an online media guidance application on a website via a personal computer at their office, or a mobile device such as a PDA or web-enabled mobile telephone. The user may set various settings (e.g., recordings, reminders, or other settings) on the online guidance application to control the user's in-home equipment. The online guide may control the user's equipment directly, or by communicating with a media guidance application on the user's in-home equipment. Various systems and methods for user equipment devices communicating, where the user equipment devices are in locations remote from each other, is discussed in, for example, Ellis et al., U.S. Pat. No. 8,046,801, issued Oct. 25, 2011, which is hereby incorporated by reference herein in its entirety.

In a third approach, users of user equipment devices inside and outside a home can use their media guidance application to communicate directly with content source 616 to access content. Specifically, within a home, users of user television equipment 602 and user computer equipment 604 may access the media guidance application to navigate among and locate desirable content. Users may also access the media guidance application outside of the home using wireless user communications devices 606 to navigate among and locate desirable content.

In a fourth approach, user equipment devices may operate in a cloud computing environment to access cloud services. In a cloud computing environment, various types of computing services for content sharing, storage or distribution (e.g., video sharing sites or social networking sites) are provided by a collection of network-accessible computing and storage resources, referred to as “the cloud.” For example, the cloud can include a collection of server computing devices, which may be located centrally or at distributed locations, that provide cloud-based services to various types of users and devices connected via a network such as the Internet via communications network 614. These cloud resources may include one or more content sources 616 and one or more media guidance data sources 618. In addition or in the alternative, the remote computing sites may include other user equipment devices, such as user television equipment 602, user computer equipment 604, and wireless user communications device 606. For example, the other user equipment devices may provide access to a stored copy of a video or a streamed video. In such embodiments, user equipment devices may operate in a peer-to-peer manner without communicating with a central server.

The cloud provides access to services, such as content storage, content sharing, or social networking services, among other examples, as well as access to any content described above, for user equipment devices. Services can be provided in the cloud through cloud computing service providers, or through other providers of online services. For example, the cloud-based services can include a content storage service, a content sharing site, a social networking site, or other services via which user-sourced content is distributed for viewing by others on connected devices. These cloud-based services may allow a user equipment device to store content to the cloud and to receive content from the cloud rather than storing content locally and accessing locally-stored content.

A user may use various content capture devices, such as camcorders, digital cameras with video mode, audio recorders, mobile phones, and handheld computing devices, to record content. The user can upload content to a content storage service on the cloud either directly, for example, from user computer equipment 604 or wireless user communications device 606 having content capture feature. Alternatively, the user can first transfer the content to a user equipment device, such as user computer equipment 604. The user equipment device storing the content uploads the content to the cloud using a data transmission service on communications network 614. In some embodiments, the user equipment device itself is a cloud resource, and other user equipment devices can access the content directly from the user equipment device on which the user stored the content.

Cloud resources may be accessed by a user equipment device using, for example, a web browser, a media guidance application, a desktop application, a mobile application, and/or any combination of access applications of the same. The user equipment device may be a cloud client that relies on cloud computing for application delivery, or the user equipment device may have some functionality without access to cloud resources. For example, some applications running on the user equipment device may be cloud applications, i.e., applications delivered as a service over the Internet, while other applications may be stored and run on the user equipment device. In some embodiments, a user device may receive content from multiple cloud resources simultaneously. For example, a user device can stream audio from one cloud resource while downloading content from a second cloud resource. Or a user device can download content from multiple cloud resources for more efficient downloading. In some embodiments, user equipment devices can use cloud resources for processing operations such as the processing operations performed by processing circuitry described in relation to FIG. 5.

As referred herein, the term “in response to” refers to initiated as a result of. For example, a first action being performed in response to a second action may include interstitial steps between the first action and the second action. As referred herein, the term “directly in response to” refers to caused by. For example, a first action being performed directly in response to a second action may not include interstitial steps between the first action and the second action.

FIG. 7 is a flowchart of illustrative steps for presenting search results from a plurality of sources, in accordance with some embodiments of the disclosure. For example, a media guidance application implementing process 700 may be executed by control circuitry 504 (FIG. 5). It should be noted that process 700 or any step thereof could be performed on, or provided by, any of the devices shown in FIGS. 5-6.

Process 700 begins at 702, where the media guidance application searches (e.g., via control circuitry 504 (FIG. 5)) for results from a first source, a second source, and a third source based on a user input. For example, the media guidance application may receive (e.g., via control circuitry 504 (FIG. 5)) a user input via a user input interface (e.g., user input interface 510 (FIG. 5)) of a string of one or multiple alphanumeric or other characters. The media guidance application may transmit (e.g., via control circuitry 504 (FIG. 5)) the user input to servers associated with each of the sources (e.g., to content source 616 via communications network 614 (FIG. 6)). For example, the media guidance application may generate a data packet including the user input (e.g., a string of characters) and/or other parameters for the search (e.g., results should be during a certain time period).

Process 700 continues to 704, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) to merge results from the first source with results from the second source into a merged group. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that the number of search results received from the first source and the second source is small and determine to merge the results into a merged group. Specifically, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that there are too few results from the first source to fill a portion of a display allocated to the first source and may add search results from the second source in order to fill the display (e.g., by merging the results). As another example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) characteristics (e.g., stored locally in storage 508 (FIG. 5) or remotely at media guidance data source 618 accessible via communications network 614 (FIG. 6)) of the first and second sources (e.g., that both are OTT sources) and determine that the results should be merged into a single section of the search results presented to a user, as discussed further below with respect to FIG. 9. As yet another example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)), from a user profile (e.g., stored locally in storage 508 (FIG. 5) or remotely at media guidance data source 618 accessible via communications network 614 (FIG. 6)), an indication that the first source and the second source should be merged, as discussed further below with respect to FIG. 9.

Process 700 continues to 706, where the media guidance application receives (e.g., via control circuitry 504 (FIG. 5)) at least a first search result from one of the first source and the second source and a second search result and a third search result from the third source. For example, the media guidance application may receive (e.g., via control circuitry 504 (FIG. 5)) one or more results that match the user input from one of the first source and second source (e.g., from content source 616 (FIG. 6)), as well as two or more results from the third content source. The result(s) from the sources may be received (e.g., via control circuitry 504 (FIG. 5)) by the media guidance application in a table, where the table contains a plurality of rows, each with an identifier of a matching result (e.g., the title of a media asset) and additional information in associated fields (e.g., an actor in a media asset).

Process 700 continues to 708, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) a ranking of sources indicating a higher ranking for the merged group than the third source. For example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) the ranking from local storage (e.g., storage 508 (FIG. 5)) or a remote server (e.g., media guidance data source 618 accessible via communications network 614 (FIG. 6)). The ranking of sources may be stored in a table or other suitable data structure, where each row contains an identifier of a source and a numeric ranking or score associated with the source in an associated field. The ranking may be set manually by a user (e.g., via user input interface 510 (FIG. 5)) or may be a default ranking based on the historical interactions of other users (e.g., the most commonly searched sources by a population of users are ranked highest). The ranking of sources may contain separate entries for groups of merged sources, or may average the rankings of the individual sources that are grouped to determine a rank for the group.

Process 700 continues to 710, where the media guidance application generates (e.g., via control circuitry 504 (FIG. 5)) for display (e.g., on display 512 (FIG. 5)), based on the higher ranking, the first search result associated with the merged group in a first row. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) a particular location (e.g., a row) to generate the first search result associated with the merged group of search results and generate the first search result for display in the particular location. In some embodiments, the row may be located at a row closer to the top of the screen (e.g., display 512 (FIG. 5)) than a second row where results from the third source are presented.

Process 700 continues to 712, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) that the first search result matches the second search result and the first search result does not match the third search result. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that if each character of a specific attribute associated with the first result matches each character of the corresponding attribute associated with the second result that the two results match. For example, if two results contain metadata referring to actor “Matt Damon,” the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) the metadata matches and thus the two results match.

Process 700 continues to 714, where the media guidance application generates (e.g., via control circuitry 604 (FIG. 6)) for display (e.g., on display 512 (FIG. 5)) the third search result in a second row of the grid, wherein the second search result is not displayed in the second row. For example, upon determining that two results that are to be displayed at the same time match (e.g., they are in the first and second subsets), the media guidance application replaces (e.g., via control circuitry 504 (FIG. 5)) the result of the source or group of sources that is ranked lower with another result. For example, if “The Big Bang Theory” is a result from both the merged group of sources and a third source (e.g., source 616 (FIG. 6)) and in the first and second subsets, the second result in the second subset may be replaced with another result (e.g., the third result). The media guidance application may then generate (e.g., via control circuitry 504 (FIG. 5)) for display (e.g., on display 512 (FIG. 5)) the third result instead of the second result in the second row (e.g., with results from the third source).

FIG. 8 is another flowchart of illustrative steps for presenting search results from a plurality of sources, in accordance with some embodiments of the disclosure. For example, a media guidance application implementing process 800 may be executed by control circuitry 504 (FIG. 5). It should be noted that process 800 or any step thereof could be performed on, or provided by, any of the devices shown in FIGS. 5-6.

Process 800 begins at 802, where the media guidance application receives (e.g., via control circuitry 504 (FIG. 5)) a user input. For example, the media guidance application may receive (e.g., via control circuitry 504 (FIG. 5)) a user input via a user input interface (e.g., user input interface 510 (FIG. 5)). The user input may be a string of one or multiple alphanumeric or other characters. Alternatively or additionally, the user input may be selecting one of a plurality of selectable options with common search queries. For example, the media guidance application may present (e.g., via control circuitry 504 (FIG. 5)) the most commonly searched keywords as selectable options for the user to select, saving the user time that he or she may have to input the characters.

Process 800 continues to 804, where the media guidance application searches (e.g., via control circuitry 504 (FIG. 5)) for results from a first source, a second source, and a third source based on the user input. For example, the media guidance application may transmit (e.g., via control circuitry 504 (FIG. 5)) the user input to servers associated with each of the sources (e.g., to content source 616 via communications network 614 (FIG. 6)). For example, the media guidance application may generate a data packet including the user input (e.g., a string of characters) and/or other parameters for the search (e.g., results should be during a certain time period). In some embodiments, the media guidance application may utilize an API from one or more of the sources to transmit (e.g., via control circuitry 504 (FIG. 5)) a search query (e.g., based on the user input). The media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) the sources to transmit the user input to, based on user preferences (e.g., stored locally in storage 508 (FIG. 5) or remotely at media guidance data source 618 accessible via communications network 614 (FIG. 6)) for specific sources. For example, the user may store a preference that search queries should be sent to a particular set of sources (e.g., to AMAZON®, HULU®, and VERIZON®). Alternatively or additionally, the media guidance application may generate (e.g., via control circuitry 504 (FIG. 5)) a graphical user interface at the time of the user input allowing the user to select sources. For example, the media guidance application may generate (e.g., via control circuitry 504 (FIG. 5)) a field where the user can enter (e.g., via user input interface 510 (FIG. 5)) a string of characters (e.g., the user input) and a series of selectable options for sources to search for results.

Process 800 continues to 806, where the media guidance application receives (e.g., via control circuitry 504 (FIG. 5)) first search results from the first source, second search results from the second source, and third search results from the third source. For example, the media guidance application may receive (e.g., via control circuitry 504 (FIG. 5)) a plurality of results that match the user input from each source (e.g., from content source 616 (FIG. 6)). The results from each source may be received (e.g., via control circuitry 504 (FIG. 5)) by the media guidance application in separate tables, where each table contains a plurality of rows, each with an identifier of a matching result (e.g., the title of a media asset) and additional information in associated fields (e.g., an actor in a media asset). In some embodiments, the results may be ranked according to popularity. Alternatively or additionally, the results may be ranked according to relevance to the user input. For example, despite “The Big Bang Theory” being the most popular result (e.g., many users click on it), because the user input is “Bang,” the result “Bangerz,” an album by Miley Cyrus, may be ranked higher because the first word is matched to the query. Alternatively or additionally, the media guidance application may reorder (e.g., via control circuitry 504 (FIG. 5)) the results based on any combination of the factors discussed above, as well as based on user preferences. For example, if the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) a user preference (e.g., stored locally in storage 508 (FIG. 5) or remotely at media guidance data source 618 accessible via communications network 614 (FIG. 6)) that the user likes movies with a given actor, then results with that actor may be elevated in the ranking.

Process 800 continues to 808, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) to merge the first search results from the first source with the second search results from the second source into a merged group of search results. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that the number of search results received from the first source and the second source is small and determine to merge the results into a merged group. Specifically, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that there are too few results from the first source to fill a portion of a display allocated to the first source and may add search results from the second source in order to fill the display (e.g., by merging the results). As another example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) characteristics (e.g., stored locally in storage 508 (FIG. 5) or remotely at media guidance data source 618 accessible via communications network 614 (FIG. 6)) of the first and second sources (e.g., that both are OTT sources) and determine that the results should be merged into a single section of the search results presented to a user, as discussed further below with respect to FIG. 9. As yet another example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)), from a user profile (e.g., stored locally in storage 508 (FIG. 5) or remotely at media guidance data source 618 accessible via communications network 614 (FIG. 6)), an indication that the first source and the second source should be merged, as discussed further below with respect to FIG. 9.

Process 800 continues to 810, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) a ranking of sources indicating a higher ranking for the merged group of search results than the third source. For example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) the ranking from local storage (e.g., storage 508 (FIG. 5)) or a remote server (e.g., media guidance data source 618 accessible via communications network 614 (FIG. 6)). The ranking of sources may be stored in a table or other suitable data structure, where each row contains an identifier of a source and a numeric ranking or score associated with the source in an associated field. The ranking may be set manually by a user (e.g., via user input interface 510 (FIG. 5)) or may be a default ranking based on the historical interactions of other users (e.g., the most commonly searched sources by a population of users are ranked highest). The ranking of sources may contain separate entries for groups of merged sources, or may average the rankings of the individual sources that are grouped to determine a rank for the group.

Process 800 continues to 812, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)), based on the higher ranking for the merged group of search results than the third source, to generate for display the merged group of search results in a first row. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) a particular location (e.g., a row) to generate results from the merged group of search results in. In some embodiments, the row may be located at a row closer to the top of the screen (e.g., display 512 (FIG. 5)) than a second row where results from the third source are presented.

Process 800 continues to 814, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) a first subset of the merged group of search results that fit in the first row and a second subset of the third search results that fit in a second row, wherein the first subset includes a first result, and wherein the second subset includes a second result but not a third result. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) a number of results that fit in the first row and the second row. The number may be constant (e.g., each row always contains 3 results) or may vary based on the length of identifiers of the results (e.g., results with a large number of characters take up more space and fewer can be displayed at once). In some embodiments, the number may be different for the first row and the second row. For example, by virtue of being preferred based on the ranking, more results may be displayed for the first row (e.g., the first row may take up more display space and display results in two sub-rows) than the second row. The media guidance application may then select (e.g., via control circuitry 504 (FIG. 5)) the appropriate number of results from the received search results from the sources to display (e.g., the first and second subsets), as described further below with respect to FIG. 10. The first subset may include a first result that matches a second result in the second subset. For example, “The Big Bang Theory” may be present in the first and second subsets. In order to present non-duplicate results to the user, the media guidance application may select (e.g., via control circuitry 504 (FIG. 5)) a third result of the third search results that does not match one of the results in the first subset instead of the second result.

Process 800 continues to 816, where the media guidance application compares (e.g., via control circuitry 504 (FIG. 5)) metadata associated with the first result with metadata associated with the second result. For example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) metadata associated with a result locally from storage (e.g., storage 508 (FIG. 5)) or a remote server (e.g., media guidance data source 618 accessible via communications network 614 (FIG. 6)). The media guidance application may, alternatively or additionally, receive (e.g., via control circuitry 504 (FIG. 5)) the metadata in fields of a table associated with the results received from a source (e.g., content source 616 (FIG. 6)). The metadata may be any data related to the result that describes content associated with the result. For example, if the result is for a news article, the metadata may include the author of the article, type of the article (e.g., opinion), and/or publication name (e.g., Nature). The media guidance application may execute (e.g., via control circuitry 504 (FIG. 5)) a program script to iteratively compare characters of metadata (e.g., attributes) of two results to determine whether the two results match. For example, the media guidance application may compare (e.g., via control circuitry 504 (FIG. 5)) the string of characters “Matt Damon,” associated with the first result, with the string of characters “Matt Dillon,” associated with the second result.

Process 800 continues to 818, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)), based on the comparing, that the first result matches the second result. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that if each character of a specific attribute associated with the first result matches each character of the corresponding attribute associated with the second result that the two results match. For example, if two results contain metadata referring to actor “Matt Damon,” the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) the metadata matches and thus the two results match. Alternatively or additionally, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether all the metadata (e.g., all the attributes) associated with the first result, or a threshold percentage (e.g., 50%), match corresponding metadata of the second result, as described further with respect to FIG. 11. For example, if the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) the title, director, and genre attributes match between two results, the media guidance application may determine that the two results match with greater confidence than if only one attribute matched.

Process 800 continues to 820, where the media guidance application, in response to determining that the first result matches the second result, modifies (e.g., via control circuitry 504 (FIG. 5)) the second subset by replacing the second result in the second subset with the third result. For example, upon determining that two results that are to be displayed at the same time match (e.g., they are in the first and second subsets), the media guidance application replaces (e.g., via control circuitry 504 (FIG. 5)) the result that is lower ranked with another result. For example, if “The Big Bang Theory” is a result both a source associated with the merged group and the third source and in the first and second subsets, the result in the second subset may be replaced with another result.

Process 800 continues to 822, where the media guidance application generates (e.g., via control circuitry 504 (FIG. 5)) for display the first subset in the first row and the modified second subset in the second row. For example, the media guidance application may generate (e.g., via control circuitry 504 (FIG. 5)) identifiers of each result in the first subset in the first row. As a specific example, the identifiers may be text or graphics that identify each result. The media guidance application may receive (e.g., via control circuitry 504 (FIG. 5)) the identifiers from the sources, or may retrieve them from local storage (e.g., storage 508 (FIG. 5)) or a remote server (e.g., at media guidance data source 618 accessible via communications network 614 (FIG. 6)). The media guidance application may similarly generate (e.g., via control circuitry 504 (FIG. 5)) identifiers of each result in the modified second subset (e.g., where the third result has replaced the second result) in the second row.

FIG. 9 is a flowchart of illustrative steps for determining whether to merge first results from a first source with second results from a second source, in accordance with some embodiments of the disclosure. For example, a media guidance application implementing process 900 may be executed by control circuitry 504 (FIG. 5). It should be noted that process 900 or any step thereof could be performed on, or provided by, any of the devices shown in FIGS. 5-6. Process 900 starts at 902, where the media guidance application begins (e.g., via control circuitry 504 (FIG. 5)) a process for determining whether to merge first results from a first source with second results from a second source. For example, the media guidance application may initialize the necessary variables and execute (e.g., via control circuitry 504 (FIG. 5)) a program script calling a particular method to execute process 900.

Process 900 continues to 904, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) a first identifier of the first source and a second identifier of the second source. For example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)), from the search results received from a source, an identifier of the source (e.g., a string of alphanumeric characters). Alternatively, the media guidance application may retrieve an identifier of a source from storage (e.g., storage 508 (FIG. 5)) or a remote server (e.g., accessible via communications network 614 (FIG. 6)).

Process 900 continues to 906, where the media guidance application compares (e.g., via control circuitry 504 (FIG. 5)) the first identifier and the second identifier with identifiers of sources stored in a sources data structure associated with the user. For example, the media guidance application may access (e.g., via control circuitry 504 (FIG. 5)) the sources data structure in local storage (e.g., storage 508 (FIG. 5)) or at a remote server (e.g., at media guidance data source 618 accessible via communications network 614 (FIG. 6)). The sources data structure may contain a plurality of identifiers of sources and indications of whether, for specific combinations of the sources, results from the sources should be grouped. The media guidance application may compare (e.g., via control circuitry 504 (FIG. 5)) characters of each identifier in the sources data structure with characters of the first and second identifiers.

Process 900 continues to 908, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) if there is an entry in the sources data structure with identifiers that match the first identifier and the second identifier. For example, the media guidance application may determine whether there is a single entry in the sources data structure with both the first and the second identifier. As a specific example, if the media guidance application determines AMAZON® and HULU® are the identifiers of the first and second sources and there is an entry containing both AMAZON® and HULU® in the sources data structure, the media guidance application may determine that there is a match. If, at 908, the media guidance application determines that there is an entry in the sources data structure with identifiers that match the first identifier and the second identifier, process 900 continues to 910, where the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) a value associated with the entry. For example, the media guidance application may execute (e.g., via control circuitry 504 (FIG. 5)) a program script utilizing a database query language such as SQL to access and retrieve the value from a field associated with the entry.

Process 900 proceeds from 910 to 912, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) whether the value indicates the first results should be merged with the second results. For example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) a boolean set to “true” indicating that the results should be merged. In some embodiments, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) a value indicating that the results should be merged only if the number of results for one of the sources is below a threshold number.

If, at 912, the media guidance application determines that the value does indicate that the first results should be merged with the second results, process 900 continues to 920, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) to merge the first results and the second results. For example, the media guidance application may, in response to determining that the results from the two sources should be merged, execute (e.g., via control circuitry 504 (FIG. 5)) an instruction to merge the first results and the second results into a single list or other data structure. The media guidance application may then use (e.g., via control circuitry 504 (FIG. 5)) the merged results to populate a row of a grid that is generated for display with search results, as discussed above with respect to FIGS. 1-2 and 7-8.

If, at 908, the media guidance application determines that there is not an entry in the sources data structure with identifiers that match the first identifier and the second identifier or if, at 912, the media guidance application determines that the value does not indicate that the first results should be merged with the second results, then process 900 continues to 914, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) first characteristics of the first source and second characteristics of the second source. For example, the media guidance application may transmit (e.g., via control circuitry 504 (FIG. 5)) a query to a database (e.g., stored in storage 508 (FIG. 5) or at media guidance data source 618 accessible via communications network 614 (FIG. 6)) containing characteristics of sources (e.g., content source 616 (FIG. 6)) with identifiers of the first source and the second source and receive a response containing one or more characteristics for each source. Alternatively or additionally, the search results from each source may contain a header that includes characteristics of the respective source. The characteristic may be a type of content that a source searches (e.g., audio only), a delivery method (e.g., OTT or broadcast), a location of the source (e.g., Russia), or any other data describing the source itself.

Process 900 continues to 916, where the media guidance application compares (e.g., via control circuitry 504 (FIG. 5)) each characteristic in the first characteristics with each characteristic in the second characteristics. For example, the media guidance application may compare (e.g., via control circuitry 504 (FIG. 5)) characters of each characteristic associated with the first source with characters of each characteristic associated with the second source.

Process 900 continues to 918, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) whether any characteristics in the first characteristics match a characteristic in the second characteristics. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether two characteristics match based on every character matching, or a threshold amount (e.g., percentage) of characters matching (e.g., to account for spelling errors such as “brodcast” instead of “broadcast”).

If, at 918, the media guidance application determines that a characteristic of the first characteristics matches a characteristic in the second characteristics, process 900 continues to 920, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) to merge the first results and the second results. For example, the media guidance application may, in response to determining that the results from the two sources should be merged, execute (e.g., via control circuitry 504 (FIG. 5)) an instruction to merge the first results and the second results into a single list or other data structure. The media guidance application may then use (e.g., via control circuitry 504 (FIG. 5)) the merged results to populate a row of a grid that is generated for display with search results, as discussed above with respect to FIGS. 1-2 and 7-8.

If, at 918, the media guidance application determines that a characteristic of the first characteristics does not match a characteristic in the second characteristics, process 900 continues to 922, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) not to merge the first results and the second results. For example, if the two sources are unrelated, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that the results should be presented separately as opposed to merged. As a specific example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that results from a broadcast source and a OTT source should be presented separately.

FIG. 10 is a flowchart of illustrative steps for determining a subset of results to display, in accordance with some embodiments of the disclosure. For example, a media guidance application implementing process 1000 may be executed by control circuitry 504 (FIG. 5). It should be noted that process 1000 or any step thereof could be performed on, or provided by, any of the devices shown in FIGS. 5-6. Process 1000 starts at 1002, where the media guidance application begins (e.g., via control circuitry 504 (FIG. 5)) a process for determining a subset of results to display. For example, the media guidance application may initialize the necessary variables and execute (e.g., via control circuitry 504 (FIG. 5)) a program script calling a particular method to execute process 1000.

Process 1000 continues to 1004, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) if the results are ranked based on relevance to user input. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether data received with search results from the source (e.g., via content source 616 (FIG. 6)) indicates that the results are ranked based on relevance to user input. As a specific example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether a boolean value is set to “true” for ranking by relevance received in a data packet associated with the results from the source.

If, at 1004, the media guidance application determines that the results are not ranked based on relevance to user input, process 1000 continues to 1006, where the media guidance application compares (e.g., via control circuitry 504 (FIG. 5)) each result to the user input to determine a relevance value. For example, the media guidance application may compare (e.g., via control circuitry 504 (FIG. 5)) characters of a result to the user input to determine an amount and/or percentage that match and assign a relevance value according to the amount and/or percentage that match. Alternatively or additionally, the media guidance application may weight (e.g., via control circuitry 504 (FIG. 5)) the position that consecutive characters (e.g., a word) match between the user input and the result. For example, if the first word of one result matches the user input and a second result matches the word as well but it is the third word in a string of words, the first result may be assigned a greater relevance value.

Process 1000 continues to 1008, where the media guidance application ranks (e.g., via control circuitry 504 (FIG. 5)) the results based on the relevance value. For example, the media guidance application may order (e.g., via control circuitry 504 (FIG. 5)) the results based on the relevance values (e.g., from highest to lowest relevance) by utilizing a sorting algorithm, such as merge sort or bubble sort. The media guidance application may combine (e.g., via control circuitry 504 (FIG. 5)) the ranking with other rankings and weight each ranking (e.g., based on popularity or user preferences, as discussed below) to generate an aggregate ranking, which is then used to select results for the subset. Process 1000 then continues to 1010.

If, at 1004, the media guidance application determines that the results are ranked based on relevance to user input, process 1000 continues to 1010, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) whether the results are ranked based on popularity. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether data received with search results from the source (e.g., via content source 616 (FIG. 6)) indicates that the results are ranked based on popularity. As a specific example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether a boolean value is set to “true” for ranking by popularity received in a data packet associated with the results from the source.

If, at 1010, the media guidance application determines that the results are not ranked based on popularity, process 1000 continues to 1012, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) a popularity value for each result. For example, the media guidance application may transmit (e.g., via control circuitry 504 (FIG. 5)) a request for a popularity value associated with an identifier of each result to a database (e.g., to media guidance data source 618 (FIG. 6)). As a specific example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) popularity values from the database. The popularity values may be rankings of how many users view or access data associated with the result (e.g., “The Big Bang Theory” is the number one ranked show, ESPN.com is the 3^(rd) most visited webpage, etc.).

Process 1000 continues to 1014, where the media guidance application ranks (e.g., via control circuitry 504 (FIG. 5)) the results based on the retrieved popularity value. For example, the media guidance application may order (e.g., via control circuitry 504 (FIG. 5)) the results based on the popularity values (e.g., from highest to lowest popularity) by utilizing a sorting algorithm, such as merge sort or bubble sort. The media guidance application may combine (e.g., via control circuitry 504 (FIG. 5)) the ranking with other rankings and weight each ranking (e.g., based on popularity or user preferences, as discussed) to generate an aggregate ranking, which is then used to select results for the subset. Process 1000 then continues to 1016.

If, at 1010, the media guidance application determines that the results are ranked based on popularity, process 1000 continues to 1016, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) whether the results are ranked based on user preferences. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether data received with search results from the source (e.g., via content source 616 (FIG. 6)) indicates that the results are ranked based on user preferences. As a specific example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether a boolean value is set to “true” for ranking by user preferences received in a data packet associated with the results from the source. For example, the media guidance application may transmit (e.g., via control circuitry 504 (FIG. 5)) user preferences with the user input to the source at the time of the search, or may (e.g., due to data privacy considerations) sort the results based on user preferences after receiving the results.

If, at 1016, the media guidance application determines that the results are not ranked based on user preferences, process 1000 continues to 1018, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) user preferences from a user profile. For example, the media guidance application may execute (e.g., via control circuitry 504 (FIG. 5)) a program script utilizing a database query language such as SQL to access and retrieve data in a particular field of the user profile. The media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) data from specific fields (e.g., determined to be relevant to search results, such as a favorite show associated with the user), a random subset of user preferences, or all user preferences from the user profile.

Process 1000 continues to 1020, where the media guidance application compares (e.g., via control circuitry 504 (FIG. 5)) each retrieved user preference to each result to determine a preference value. For example, the media guidance application may compare (e.g., via control circuitry 504 (FIG. 5)) a retrieved user preference with a rule-set for determining whether the user preference relates to a search result. For example, the rule-set may include a rule that if a search result is associated with a particular actor (e.g., Tom Hanks) and the user preference is related to a movie that Tom Hanks is in (e.g., “Forrest Gump”) then a specific value will be assigned as the preference value. The media guidance application may update (e.g., via control circuitry 504 (FIG. 5)) the preference value if additional user preferences relate to the same search result.

Process 1000 continues to 1014, where the media guidance application ranks (e.g., via control circuitry 504 (FIG. 5)) the results based on the preference value. Process 1000 then continues to 1024. For example, the media guidance application may order (e.g., via control circuitry 504 (FIG. 5)) the results based on the preference values (e.g., from highest to lowest popularity) by utilizing a sorting algorithm, such as merge sort or bubble sort. The media guidance application may combine (e.g., via control circuitry 504 (FIG. 5)) the ranking with other rankings and weight each ranking (e.g., based on popularity or user preferences, as discussed) to generate an aggregate ranking, which is then used to select results for the subset.

If, at 1016, the media guidance application determines that the results are ranked based on user preferences, process 1000 continues to 1024, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) a row where the results from the source will be displayed. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) a particular location (e.g., a row) to generate results from the first source in. In some embodiments, the row may be located at a row closer to the top of the screen than a second row where results from the second source are presented.

Process 1000 continues to 1026, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) a number of results that fit in the determined row. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) a number of results that fit in the row based on retrieving a value from a display template, as discussed above with respect to FIG. 1. The number may be constant (e.g., each row always contains 3 results) or may vary based on the length of identifiers of the results (e.g., results with a large number of characters take up more space and fewer can be displayed at once).

Process 1000 continues to 1028, where the media guidance application selects (e.g., via control circuitry 504 (FIG. 5)) the number of results from the ranked results as the subset of results to display. For example, the media guidance application may then select the appropriate number of results from the received search results from the source to display (e.g., the subset), as described further with respect to FIGS. 1-2.

FIG. 11 is a flowchart of illustrative steps for determining whether a first result from a first source and a second result from a second source match, in accordance with some embodiments of the disclosure. For example, a media guidance application implementing process 1100 may be executed by control circuitry 504 (FIG. 5). It should be noted that process 1100 or any step thereof could be performed on, or provided by, any of the devices shown in FIGS. 5-6. Process 1100 starts at 1102, where the media guidance application begins (e.g., via control circuitry 504 (FIG. 5)) a process for determining whether a first result from a first source and a second result from a second source match. For example, the media guidance application may initialize the necessary variables and execute (e.g., via control circuitry 504 (FIG. 5)) a program script calling a particular method to execute process 1100.

Process 1100 continues to 1104, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) an attribute associated with the first result and a corresponding attribute associated with the second result. For example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) tables containing metadata associated with the first and second results stored locally (e.g., in storage 508 (FIG. 5)) or remotely at a server (e.g., at media guidance data source 618 accessible via communications network 614 (FIG. 6)). For example, the tables containing metadata associated with each stored identifier may be structured so that metadata in a first field of each table is always a title associated with the result, metadata in a second field of each table is always a director, etc., for easier comparison (e.g., metadata for the same attribute can be compared without having to compare each stored value to every stored value associated with another identifier). Alternatively or additionally, the table may be structured such that each field with metadata is associated with a label, such as “ACTOR,” which can be used to compare corresponding metadata associated with different identifiers. The media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) metadata from a first field associated with the first result (e.g., a title) and metadata from a second field associated with the second result (e.g., also a title).

Process 1100 continues to 1106, where the media guidance application compares (e.g., via control circuitry 504 (FIG. 5)) the attribute associated with the first result and the corresponding attribute associated with the second result. For example, the media guidance application may compare (e.g., via control circuitry 504 (FIG. 5)) each character of a retrieved string of characters associated with the first result (e.g., a title) with characters of a retrieved string of characters associated with the second result (e.g., another title). For example, the media guidance application may execute (e.g., via control circuitry 504 (FIG. 5)) a program script to iteratively compare characters of metadata (e.g., attributes) of two results to determine whether the two results match. For example, the media guidance application may compare (e.g., via control circuitry 504 (FIG. 5)) the string of characters “Matt Damon,” associated with the first result, with the string of characters “Matt Dillon,” associated with the second result.

Process 1100 continues to 1108, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) if the attributes match. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether two attributes match if all the characters match. Alternatively or additionally, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) whether two attributes match if a threshold amount or percentage of all the characters of two attributes match. For example, in some instances due to spelling errors or other typographical mistakes, a single character may be different between metadata associated with the first result and metadata associated with the second result (e.g., “Tom Hanks” and “Tom Hankz”) and the media guidance application may still determine (e.g., via control circuitry 504 (FIG. 5)) a match.

If, at 1108, the media guidance application determines that the attributes do not match, process 1100 continues to 1110, where the media guidance application increments (e.g., via control circuitry 504 (FIG. 5)) a second value. For example, the media guidance application may initialize (e.g., via control circuitry 504 (FIG. 5)) a variable storing an integer and increment the value every time a match is not determined between two corresponding attributes. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that “Tom Hanks” associated with the first result does not match “Chris Evans” associated with the second result and thus increments the variable by one. If, at 1108, the media guidance application determines that the attributes do match, process 1100 continues to 1112, where the media guidance application increments (e.g., via control circuitry 504 (FIG. 5)) a first value. For example, the media guidance application may initialize (e.g., via control circuitry 504 (FIG. 5)) a variable storing an integer and increment the value every time a match is determined between two corresponding attributes. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that “Tom Hanks” associated with the first result matches “Tom Hankz” associated with the second result and thus increments the variable by one.

Process 1100 continues to 1114, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) if there are any other attributes to compare. For example, the media guidance application may execute a for-loop to iteratively retrieve every attribute associated with the first result and compare to a corresponding attribute associated with the second result (e.g., which is also retrieved). The media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that data in some fields of a table storing metadata associated with a result has not been retrieved based on the for-loop still running. The media guidance application may also store (e.g., via control circuitry 504 (FIG. 5)) a list of attributes or identifiers of attributes that have been retrieved and compare with stored attributes associated with a result to determine if there are any other attributes that have not yet been retrieved.

If, at 1114, the media guidance application determines that there are other attributes to compare, process 1100 returns to 1104, where the media guidance application retrieves (e.g., via control circuitry 504 (FIG. 5)) an attribute associated with the first result and a corresponding attribute associated with the second result. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that some attributes have not yet been retrieved from a data structure or data structures with attributes associated with the first and second results and the media guidance application may continue (e.g., via control circuitry 504 (FIG. 5)) to retrieve attributes until all have been compared.

If, at 1114, the media guidance application determines that there are not any other attributes to compare, process 1100 continues to 1116, where the media guidance application calculates (e.g., via control circuitry 504 (FIG. 5)) a percentage of matching attributes based on the first value and the second value. For example, the media guidance application may calculate (e.g., via control circuitry 504 (FIG. 5)) a total number of attributes (e.g., by adding the first value to the second value or by retrieving the total number from a data structure storing attributes). The media guidance application may then calculate (e.g., via control circuitry 504 (FIG. 5)) the percentage of matching attributes by dividing the total number by the first value. As a specific example, if there are 10 matches (e.g., the first value is 10) and 5 non-matches (e.g., the second value is 5), then the media guidance application may calculate (e.g., via control circuitry 504 (FIG. 5)) the total number as 15 and the percentage as 10/15, or 67%.

Process 1100 continues to 1118, where the media guidance application compares (e.g., via control circuitry 504 (FIG. 5)) the percentage to a threshold match percentage. For example, the media guidance application may retrieve (e.g., via control circuitry 504 (FIG. 5)) a stored value (e.g., from storage 508 (FIG. 5)) for the threshold match percentage. The media guidance application may then compare (e.g., via control circuitry 504 (FIG. 5)) the calculated percentage of attributes that match between two results to the retrieved threshold.

Process 1100 continues to 1120, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) if the percentage is greater than the threshold match percentage. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that if the value for the percentage of attributes is 67% and the value for the threshold for determining a match is 50% that the two results match. The media guidance application may still determine (e.g., via control circuitry 504 (FIG. 5)) a match if the percentage is within a tolerance factor (e.g., if the percentage of attributes that match is only 2% below the threshold for determining a match). In some embodiments, the tolerance factor may be based on the number of attributes that were compared.

If, at 1120, the media guidance application determines that the percentage is greater than the threshold match percentage, then process 1100 continues to 1122, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) that the first result matches the second result. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that, since the value for the calculated percentage is greater than the threshold value, the two results match. As described above with respect to FIGS. 1-2 and 8, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) to remove one of the two results from a subset to be displayed based on what the user's preferences are for the two sources of the two identical results. If, at 1120, the media guidance application determines that the percentage is not greater than the threshold match percentage, then process 1100 continues to 1124, where the media guidance application determines (e.g., via control circuitry 504 (FIG. 5)) that the first result does not match the second result. For example, the media guidance application may determine (e.g., via control circuitry 504 (FIG. 5)) that, since the value for the calculated percentage is less than the threshold value, the two results do not match.

It is contemplated that the steps or descriptions of each of FIGS. 7-11 may be used with any other embodiment of this disclosure. In addition, the steps and descriptions described in relation to FIGS. 7-11 may be done in alternative orders or in parallel to further the purposes of this disclosure. For example, each of these steps may be performed in any order or in parallel or substantially simultaneously to reduce lag or increase the speed of the system or method. Furthermore, it should be noted that any of the devices or equipment discussed in relation to FIGS. 5-6 could be used to perform one or more of the steps in FIGS. 7-11.

While some portions of this disclosure may make reference to “convention,” any such reference is merely for the purpose of providing context to the invention(s) of the instant disclosure, and does not form any admission as to what constitutes the state of the art.

The processes discussed above are intended to be illustrative and not limiting. One skilled in the art would appreciate that the steps of the processes discussed herein may be omitted, modified, combined, and/or rearranged, and any additional steps may be performed without departing from the scope of the invention. More generally, the above disclosure is meant to be exemplary and not limiting. Only the claims that follow are meant to set bounds as to what the present invention includes. Furthermore, it should be noted that the features and limitations described in any one embodiment may be applied to any other embodiment herein, and flowcharts or examples relating to one embodiment may be combined with any other embodiment in a suitable manner, done in different orders, or done in parallel. In addition, the systems and methods described herein may be performed in real time. It should also be noted that the systems and/or methods described above may be applied to, or used in accordance with, other systems and/or methods. 

What is claimed is:
 1. A method for presenting search results from a plurality of sources, the method comprising: receiving a user input; searching for results from a first source, a second source, and a third source based on the user input; receiving first search results from the first source, second search results from the second source, and third search results from the third source; merging the first search results from the first source with the second search results from the second source into a merged group of search results; retrieving a ranking indicating a higher ranking of sources for the merged group of search results than the third source; and generating for display a grid comprising a plurality of rows with the search results by: based on determining that the higher ranking of sources for the merged group of search results than the third source, generating for display the merged group of search results in a first row; determining a first subset of the merged group of search results that fits in a display of the first row and a second subset of the third search results that fits in a display of a second row, wherein the first subset includes a first result, and wherein the second subset includes a second result but not a third result; comparing metadata associated with the first result with metadata associated with the second result; determining, based on the comparing, that the first result matches the second result; in response to the determining that the first result matches the second result, modifying the second subset by replacing the second result in the second subset with the third result; and generating for display the first subset in the first row and the modified second subset in the second row.
 2. The method of claim 1, wherein the user input is a first user input, further comprising: receiving a second user input to assign the higher ranking to the third source instead of the merged group; and in response to receiving the second user input: generating a third subset of the third search results by replacing the third result in the modified second subset with the second result; generating a fourth subset of the merged group of search results by replacing the first result in the first subset with a fourth result of the merged group of search results, wherein the fourth result is not in the first subset; and generating for display the third subset in the first row instead of the merged group of search results and the fourth subset in the second row instead of the modified second subset.
 3. The method of claim 1, wherein the determining that the first subset of the merged group of search results fits in the display of the first row and the second subset of the third search results fits in the display of the second row comprises: retrieving a display template for the grid; retrieving, from a first field of the display template associated with the first row, a first value for a first number of results that fits in the first row; retrieving, from a second field of the display template associated with the second row, a second value for a second number of results that fits in the second row; selecting the first number of results from the merged group of search results as the first subset; and selecting the second number of results from the third search results as the second subset.
 4. The method of claim 1, wherein the determining that the first subset of the merged group of search results fits in the display of the first row and the second subset of the third search results fits in the display of the second row comprises: ranking each result in the merged group of search results and each result in the third search results based on a relevance of each result to the user input; retrieving a highest ranked result in the merged group of search results as the first result in the first subset; and retrieving a highest ranked result in the third search results as the second result in the second subset.
 5. The method of claim 1, wherein the modifying the second subset by replacing the second result in the second subset with the third result comprises: retrieving a next highest ranked result not in the second subset as the third result; removing the second result from the second subset; and adding the third result to the second subset.
 6. The method of claim 1, wherein the comparing the metadata associated with the first result with the metadata associated with the second result comprises: comparing a first identifier of the first result and a second identifier of the second result with a plurality of identifiers stored in a database; determining that a first stored identifier matches the first identifier and a second stored identifier matches the second identifier; retrieving first metadata from a first field associated with the first stored identifier and second metadata from a second field associated with the second stored identifier; and comparing first characters of the first metadata associated with the first result with second characters of the second metadata associated with the second result.
 7. The method of claim 1, wherein the generating for display the grid further comprises: comparing each result of the merged group of search results with each result of the third search results; determining, based on comparing each result of the merged search results with each result of the third search results, a number of duplicate results between the merged search results and the third search results; and generating for display an indication of the number of duplicate results in the second row.
 8. The method of claim 1, wherein the merging the first search results from the first source with the second search results from the second source into the merged group of search results comprises: retrieving a first characteristic of the first source and a second characteristic of the second source; determining that the first characteristic matches the second characteristic; and in response to the determining that the first characteristic matches the second characteristic, merging the first search results with the second search results.
 9. The method of claim 1, wherein the user input is a first user input, and wherein the merging the first search results from the first source with the second search results from the second source into the merged group of search results comprises: receiving a second user input to merge results from the first source and the second source; storing, in a data structure, an indication to merge results from the first source and the second source; in response to the receiving the first search results from the first source and the second search results from the second source, retrieving the indication; and in response to the retrieving the indication, merging the first search results from the first source with the second search results from the second source.
 10. The method of claim 1, further comprising: receiving a user selection of the first result; and in response to the receiving the user selection, generating for display an indication that the first result is also available from the third source.
 11. A system for presenting search results from a plurality of sources, the system comprising: at least one processor implemented at least partially by hardware; user input interface configured to receive a user input; and control circuitry, executed by the at least one processor, configured to: receive first search results from the first source, second search results from the second source, and third search results from the third source; merge the first search results from the first source with the second search results from the second source into a merged group of search results; retrieve a ranking indicating a higher ranking of sources for the merged group of search results than the third source; and generate for display a grid comprising a plurality of rows with search results by: based on determining that the higher ranking for the merged group of search results than the third source, generate for display the merged group of search results in a first row; determining that a first subset of the merged group of search results fits in a display of the first row and a second subset of the third search results that fits in a display of a second row, wherein the first subset includes a first result, and wherein the second subset includes a second result but not a third result; comparing metadata associated with the first result with metadata associated with the second result; determining, based on the comparing, that the first result matches the second result; in response to the determining that the first result matches the second result, modifying the second subset by replacing the second result in the second subset with the third result; and generating for display the first subset in the first row and the modified second subset in the second row.
 12. The system of claim 11, wherein the user input is a first user input, and wherein the control circuitry is further configured to: receive a second user input to assign the higher ranking to the third source instead of the merged group; and in response to the receiving the second user input: generate a third subset of the third search results by replacing the third result in the modified second subset with the second result; generate a fourth subset of the merged group of search results by replacing the first result in the first subset with a fourth result of the merged group of search results, wherein the fourth result is not in the first subset; and generate for display the third subset in the first row instead of the merged group of search results and the fourth subset in the second row instead of the modified second subset.
 13. The system of claim 11, wherein the control circuitry is further configured, in response to the determining that the first subset of the merged group of search results fits in the display of the first row and the second subset of the third search results fits in the display of the second row, to: retrieve a display template for the grid; retrieve, from a first field of the display template associated with the first row, a first value for a first number of results that fits in the first row; retrieve, from a second field of the display template associated with the second row, a second value for a second number of results that fits in the second row; select the first number of results from the merged group of search results as the first subset; and select the second number of results from the third search results as the second subset.
 14. The system of claim 11, wherein the control circuitry is further configured, in response to the determining that the first subset of the merged group of search results fits in the display of the first row and the second subset of the third search results fits in the display of the second row, to: rank each result in the merged group of search results and each result in the third search results based on a relevance of each result to the user input; retrieve a highest ranked result in the merged group of search results as the first result in the first subset; and retrieve a highest ranked result in the third search results as the second result in the second subset.
 15. The system of claim 11, wherein the control circuitry is further configured, in response to the modifying the second subset by replacing the second result in the second subset with the third result, to: remove the second result from the second subset; and add the third result to the second subset.
 16. The system of claim 11, wherein the control circuitry is further configured, in response to the comparing the metadata associated with the first result with the metadata associated with the second result, to: compare a first identifier of the first result and a second identifier of the second result with a plurality of identifiers stored in a database; determine that a first stored identifier matches the first identifier and a second stored identifier matches the second identifier; retrieve first metadata from a first field associated with the first stored identifier and second metadata from a second field associated with the second stored identifier; and compare first characters of the first metadata associated with the first result with second characters of the second metadata associated with the second result.
 17. The system of claim 11, wherein the control circuitry is further configured, in response to the generating for display the grid, to: compare each result of the merged group of search results with each result of the third search results; determine, based on comparing each result of the merged search results with each result of the third search results, a number of duplicate results between the merged search results and the third search results; and generate for display an indication of the number of duplicate results in the second row.
 18. The system of claim 11, wherein the control circuitry is further configured, in response to the determining to merge the first search results from the first source with the second search results from the second source into the merged group of search results, to: retrieve a first characteristic of the first source and a second characteristic of the second source; determine that the first characteristic matches the second characteristic; and in response to the determining that the first characteristic matches the second characteristic, determine to merge the first search results with the second search results.
 19. The system of claim 11, wherein the user input is a first user input, and wherein the control circuitry is further configured, in response to the determining to merge the first search results from the first source with the second search results from the second source into the merged group of search results, to: receive a second user input to merge results from the first source and the second source; store, in a data structure, an indication to merge results from the first source and the second source; in response to the receiving the first search results from the first source and the second search results from the second source, retrieve the indication; and in response to the retrieving the indication, determine to merge the first search results from the first source with the second search results from the second source.
 20. The system of claim 11, wherein the control circuitry is further configured to: receive a user selection of the first result; and in response to the receiving the user selection, generate for display an indication that the first result is also available from the third source. 